[PATCH] Also call HOOK_KEY_PRESS for resource-defined keys
Martin Pohlack
mp26 at os.inf.tu-dresden.de
Thu Mar 12 00:17:07 CET 2009
Hi Marc,
I noticed a strange problem with the tabbed extension: if the mouse
pointer is outside the actual tab contents (inside or outside the
terminal window) some keystrokes seem to have no effect in the active
tab. After some investigation, all keystrokes for which I have
resource definition in place are pertained.
The problem seems to be that no HOOK_KEY_PRESS is invoked in or before
the translation (call of keyboard->dispatch) in
keyboard.C:rxvt_term::key_press.
I inserted a hook call before the dispatch call and all seems to work
well now with tabs. Please see attached patch for a solution draft.
Cheers,
Martin
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: key_press_hook.diff
URL: <http://lists.schmorp.de/pipermail/rxvt-unicode/attachments/20090312/b30a1b37/attachment.ksh>
More information about the rxvt-unicode
mailing list