--- rxvt-unicode/src/rxvtperl.xs 2013/10/03 01:11:38 1.216 +++ rxvt-unicode/src/rxvtperl.xs 2014/05/02 20:35:00 1.220 @@ -795,6 +795,10 @@ IV iv; } *civ, const_iv[] = { # define const_iv(name) { # name, (IV)name } + const_iv (HOOK_INIT), + const_iv (HOOK_DESTROY), + const_iv (HOOK_KEYBOARD_DISPATCH), + const_iv (NUM_RESOURCES), const_iv (DEFAULT_RSTYLE), const_iv (OVERLAY_RSTYLE), @@ -818,7 +822,9 @@ // TODO: should support all colour constants, create colorinc.h &c const_iv (Color_fg), const_iv (Color_bg), +#if OFF_FOCUS_FADING const_iv (Color_fade), +#endif const_iv (Color_pointer_fg), const_iv (Color_pointer_bg), const_iv (Color_border), @@ -1827,9 +1833,11 @@ RETVAL bool -rxvt_term::parse_keysym (char *keysym, char *str) +rxvt_term::bind_action (char *keysym, char *str) + ALIAS: + parse_keysym = 1 CODE: - RETVAL = 0 < THIS->parse_keysym (keysym, str); + RETVAL = 0 < THIS->bind_action (keysym, str); THIS->keyboard->register_done (); OUTPUT: RETVAL @@ -1838,7 +1846,7 @@ rxvt_term::register_command (int keysym, unsigned int state, SV *str) CODE: wchar_t *wstr = sv2wcs (str); - THIS->keyboard->register_user_translation (keysym, state, wstr); + THIS->keyboard->register_action (keysym, state, wstr); free (wstr); void