… | |
… | |
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: |
… | |
… | |
928 | argv->push_back (strdup (SvPVbyte_nolen (*av_fetch (arg, i, 1)))); |
928 | argv->push_back (strdup (SvPVbyte_nolen (*av_fetch (arg, i, 1)))); |
929 | |
929 | |
930 | for (int i = AvFILL (env) + 1; i--; ) |
930 | for (int i = AvFILL (env) + 1; i--; ) |
931 | envv->push_back (strdup (SvPVbyte_nolen (*av_fetch (env, i, 1)))); |
931 | envv->push_back (strdup (SvPVbyte_nolen (*av_fetch (env, i, 1)))); |
932 | |
932 | |
933 | envv->push_back (0); |
|
|
934 | |
|
|
935 | try |
933 | try |
936 | { |
934 | { |
937 | term->init (argv, envv); |
935 | term->init (argv, envv); |
938 | } |
936 | } |
939 | catch (const class rxvt_failure_exception &e) |
937 | catch (const class rxvt_failure_exception &e) |
… | |
… | |
978 | |
976 | |
979 | void |
977 | void |
980 | rxvt_term::XUngrabKey (int keycode, U32 modifiers, Window window = THIS->vt) |
978 | rxvt_term::XUngrabKey (int keycode, U32 modifiers, Window window = THIS->vt) |
981 | CODE: |
979 | CODE: |
982 | XUngrabKey (THIS->dpy, keycode, modifiers, window); |
980 | XUngrabKey (THIS->dpy, keycode, modifiers, window); |
983 | |
|
|
984 | void |
|
|
985 | rxvt_term::XUngrabKeyboard (Time eventtime) |
|
|
986 | CODE: |
|
|
987 | XUngrabKeyboard (THIS->dpy, eventtime); |
|
|
988 | |
981 | |
989 | bool |
982 | bool |
990 | rxvt_term::grab (Time eventtime, int sync = 0) |
983 | rxvt_term::grab (Time eventtime, int sync = 0) |
991 | CODE: |
984 | CODE: |
992 | { |
985 | { |
… | |
… | |
1266 | } |
1259 | } |
1267 | OUTPUT: |
1260 | OUTPUT: |
1268 | RETVAL |
1261 | RETVAL |
1269 | |
1262 | |
1270 | void |
1263 | void |
|
|
1264 | rxvt_term::set_urgency (bool enable) |
|
|
1265 | |
|
|
1266 | void |
1271 | rxvt_term::focus_in () |
1267 | rxvt_term::focus_in () |
1272 | |
1268 | |
1273 | void |
1269 | void |
1274 | rxvt_term::focus_out () |
1270 | rxvt_term::focus_out () |
1275 | |
1271 | |
… | |
… | |
1588 | CODE: |
1584 | CODE: |
1589 | RETVAL = 0 < THIS->parse_keysym (keysym, str); |
1585 | RETVAL = 0 < THIS->parse_keysym (keysym, str); |
1590 | THIS->keyboard->register_done (); |
1586 | THIS->keyboard->register_done (); |
1591 | OUTPUT: |
1587 | OUTPUT: |
1592 | RETVAL |
1588 | RETVAL |
|
|
1589 | |
|
|
1590 | void |
|
|
1591 | rxvt_term::register_command (int keysym, unsigned int state, SV *str) |
|
|
1592 | CODE: |
|
|
1593 | wchar_t *wstr = sv2wcs (str); |
|
|
1594 | THIS->keyboard->register_user_translation (keysym, state, wstr); |
|
|
1595 | free (wstr); |
1593 | |
1596 | |
1594 | void |
1597 | void |
1595 | rxvt_term::screen_cur (...) |
1598 | rxvt_term::screen_cur (...) |
1596 | PROTOTYPE: $;$$ |
1599 | PROTOTYPE: $;$$ |
1597 | ALIAS: |
1600 | ALIAS: |