… | |
… | |
495 | } |
495 | } |
496 | |
496 | |
497 | static void |
497 | static 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 | |
1304 | int |
1309 | int |
1305 | rxvt_term::XKeycodeToKeysym (int code, int index) |
1310 | rxvt_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 | |
1310 | int |
1315 | int |
1311 | rxvt_term::strwidth (SV *str) |
1316 | rxvt_term::strwidth (SV *str) |
1312 | CODE: |
1317 | CODE: |