ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/rxvtperl.xs
(Generate patch)

Comparing rxvt-unicode/src/rxvtperl.xs (file contents):
Revision 1.224 by root, Thu May 22 18:54:33 2014 UTC vs.
Revision 1.228 by sf-exg, Fri Sep 5 19:02:53 2014 UTC

495} 495}
496 496
497static void 497static void
498_keysym_resource_push (rxvt_term *term, const char *k, const char *v) 498_keysym_resource_push (rxvt_term *term, const char *k, const char *v)
499{ 499{
500 unsigned int state;
501
502 if (term->parse_keysym (k, state) == -1)
503 return;
504
500 dSP; 505 dSP;
501 XPUSHs (sv_2mortal (newSVpv (v, 0))); 506 XPUSHs (sv_2mortal (newSVpv (v, 0)));
502 PUTBACK; 507 PUTBACK;
503} 508}
504 509
1302 OUTPUT: RETVAL 1307 OUTPUT: RETVAL
1303 1308
1304int 1309int
1305rxvt_term::XKeycodeToKeysym (int code, int index) 1310rxvt_term::XKeycodeToKeysym (int code, int index)
1306 CODE: 1311 CODE:
1307 RETVAL = XKeycodeToKeysym (THIS->dpy, code, index); 1312 RETVAL = rxvt_XKeycodeToKeysym (THIS->dpy, code, index);
1308 OUTPUT: RETVAL 1313 OUTPUT: RETVAL
1309 1314
1310int 1315int
1311rxvt_term::strwidth (SV *str) 1316rxvt_term::strwidth (SV *str)
1312 CODE: 1317 CODE:
1837 THIS->cursor_blink_reset (); 1842 THIS->cursor_blink_reset ();
1838 break; 1843 break;
1839#endif 1844#endif
1840 1845
1841 case Opt_cursorUnderline: 1846 case Opt_cursorUnderline:
1847 THIS->cursor_type = set ? 1 : 0;
1842 THIS->want_refresh = 1; 1848 THIS->want_refresh = 1;
1843 THIS->refresh_check (); 1849 THIS->refresh_check ();
1844 break; 1850 break;
1845 1851
1846# case Opt_scrollBar_floating: 1852# case Opt_scrollBar_floating:
1860 CODE: 1866 CODE:
1861 RETVAL = 0 < THIS->bind_action (keysym, str); 1867 RETVAL = 0 < THIS->bind_action (keysym, str);
1862 THIS->keyboard->register_done (); 1868 THIS->keyboard->register_done ();
1863 OUTPUT: 1869 OUTPUT:
1864 RETVAL 1870 RETVAL
1865
1866void
1867rxvt_term::register_command (int keysym, unsigned int state, SV *str)
1868 CODE:
1869 wchar_t *wstr = sv2wcs (str);
1870 THIS->keyboard->register_action (keysym, state, wstr);
1871 free (wstr);
1872 1871
1873void 1872void
1874rxvt_term::screen_cur (...) 1873rxvt_term::screen_cur (...)
1875 PROTOTYPE: $;$$ 1874 PROTOTYPE: $;$$
1876 ALIAS: 1875 ALIAS:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines