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
}

HTH,
Martin


_______________________________________________
rxvt-unicode mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/rxvt-unicode

Reply via email to