… | |
… | |
799 | const_iv (XIMDontChange), |
799 | const_iv (XIMDontChange), |
800 | # endif |
800 | # endif |
801 | # endif |
801 | # endif |
802 | }; |
802 | }; |
803 | |
803 | |
804 | for (civ = const_iv + ecb_array_length (const_iv); civ-- > const_iv; ) |
804 | for (civ = const_iv + ecb_array_length (const_iv); civ > const_iv; civ--) |
805 | newCONSTSUB (stash, (char *)civ->name, newSViv (civ->iv)); |
805 | newCONSTSUB (stash, (char *)civ[-1].name, newSViv (civ[-1].iv)); |
806 | } |
806 | } |
807 | |
807 | |
808 | void |
808 | void |
809 | warn (const char *msg) |
809 | warn (const char *msg) |
810 | CODE: |
810 | CODE: |
… | |
… | |
978 | |
978 | |
979 | void |
979 | void |
980 | rxvt_term::XUngrabKey (int keycode, U32 modifiers, Window window = THIS->vt) |
980 | rxvt_term::XUngrabKey (int keycode, U32 modifiers, Window window = THIS->vt) |
981 | CODE: |
981 | CODE: |
982 | XUngrabKey (THIS->dpy, keycode, modifiers, window); |
982 | XUngrabKey (THIS->dpy, keycode, modifiers, window); |
983 | |
|
|
984 | void |
|
|
985 | rxvt_term::XUngrabKeyboard (Time eventtime) |
|
|
986 | CODE: |
|
|
987 | XUngrabKeyboard (THIS->dpy, eventtime); |
|
|
988 | |
983 | |
989 | bool |
984 | bool |
990 | rxvt_term::grab (Time eventtime, int sync = 0) |
985 | rxvt_term::grab (Time eventtime, int sync = 0) |
991 | CODE: |
986 | CODE: |
992 | { |
987 | { |
… | |
… | |
1266 | } |
1261 | } |
1267 | OUTPUT: |
1262 | OUTPUT: |
1268 | RETVAL |
1263 | RETVAL |
1269 | |
1264 | |
1270 | void |
1265 | void |
|
|
1266 | rxvt_term::set_urgency (bool enable) |
|
|
1267 | |
|
|
1268 | void |
1271 | rxvt_term::focus_in () |
1269 | rxvt_term::focus_in () |
1272 | |
1270 | |
1273 | void |
1271 | void |
1274 | rxvt_term::focus_out () |
1272 | rxvt_term::focus_out () |
1275 | |
1273 | |
… | |
… | |
1588 | CODE: |
1586 | CODE: |
1589 | RETVAL = 0 < THIS->parse_keysym (keysym, str); |
1587 | RETVAL = 0 < THIS->parse_keysym (keysym, str); |
1590 | THIS->keyboard->register_done (); |
1588 | THIS->keyboard->register_done (); |
1591 | OUTPUT: |
1589 | OUTPUT: |
1592 | RETVAL |
1590 | RETVAL |
|
|
1591 | |
|
|
1592 | void |
|
|
1593 | rxvt_term::register_command (int keysym, unsigned int state, SV *str) |
|
|
1594 | CODE: |
|
|
1595 | wchar_t *wstr = sv2wcs (str); |
|
|
1596 | THIS->keyboard->register_user_translation (keysym, state, wstr); |
|
|
1597 | free (wstr); |
1593 | |
1598 | |
1594 | void |
1599 | void |
1595 | rxvt_term::screen_cur (...) |
1600 | rxvt_term::screen_cur (...) |
1596 | PROTOTYPE: $;$$ |
1601 | PROTOTYPE: $;$$ |
1597 | ALIAS: |
1602 | ALIAS: |