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.226 by sf-exg, Wed Sep 3 18:20:37 2014 UTC vs.
Revision 1.229 by sf-exg, Mon Oct 13 17:05:32 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:
1863 THIS->keyboard->register_done (); 1868 THIS->keyboard->register_done ();
1864 OUTPUT: 1869 OUTPUT:
1865 RETVAL 1870 RETVAL
1866 1871
1867void 1872void
1873rxvt_term::register_command (int keysym, unsigned int state, SV *str)
1874 CODE:
1875 wchar_t *wstr = sv2wcs (str);
1876 THIS->keyboard->register_action (keysym, state, wstr);
1877 free (wstr);
1878
1879void
1868rxvt_term::screen_cur (...) 1880rxvt_term::screen_cur (...)
1869 PROTOTYPE: $;$$ 1881 PROTOTYPE: $;$$
1870 ALIAS: 1882 ALIAS:
1871 screen_cur = 0 1883 screen_cur = 0
1872 selection_beg = 1 1884 selection_beg = 1

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines