On Fri, Sep 23, 2011 at 12:03:25PM +0200, Martin Pohlack wrote: > Hi, > > there has been a long-standing bug with the tabbed extension in > combination of focus-follows mouse and resource-defined key: > > http://comments.gmane.org/gmane.comp.terminal-emulators.rxvt-unicode.general/477 > > I traced single key-strokes through urxvt and I think I found the > problem. If the mouse is outside the window of a terminal but not on > another window (with focus follows mouse), events are sent to the main > window and not the individual embedded terminals. The translation of > resource-defined keyboard mappings is done by the master terminal in > command.C:rxvt_term::key_press. The result of the translation is > finally forwarded to the embedded terminal via > * keyboard_manager::dispatch, > * output_string, > * rxvt_term::tt_write, > * HOOK_TT_WRITE > > This hook is not implemented in the tabbed extension. I inserted this > code into tabbed and it seems to fix the problem: > > sub on_tt_write { > my ($self, $octets) = @_; > > $self->{cur}->tt_write ($octets); > > 1 > }
Thanks, applied. Emanuele _______________________________________________ rxvt-unicode mailing list [email protected] http://lists.schmorp.de/cgi-bin/mailman/listinfo/rxvt-unicode
