[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#178812: [dickey@his.com: Bug#178812: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=178812]



>----- Forwarded message from Thomas Dickey <dickey@his.com> -----
>> xterm: resource-based keybindings don't work when mouse cursor over scrollbar
>
>Perhaps more information would help (such as a copy of whatever customization
>he was making to test this with).  There aren't any xterm-specific default
>resource settings that map the keystrokes to scrollbar actions.  (This applies
>to XFree86 xterm and X11R5, X11R6 xterms). 

Ah, no, I don't assign anything *specifically* to the scrollbar. The bindings
in question are these:

XTerm*VT100.Translations: #override \
        Shift<Key>Prior:scroll-back(1,page) \n\
        Shift<Key>Next:scroll-forw(1,page) \n\
        Shift<Key>Insert:insert-selection(PRIMARY, CUT_BUFFER0) \n\

>The scrollbar, by the way, happens
>to be a child of the widget that displays text.  So keystrokes that are not
>handled by the scrollbar end up being processed by the text (VT100) widget.

Except that they don't, anymore. When the mouse cursor is over the scrollbar
hitting Shift-Prior sends the escape sequence bound, rather than scrolling.
If the mouse cursor is outside the scrollbar, it works as expected. The
other bindings behave similarly.

/Anders





Reply to: