diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2023-02-18 14:37:03 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2023-02-18 14:37:03 -0800 |
commit | f3b3a43af011b2e98e6d4de54bce3b0e19e40a06 (patch) | |
tree | b9a4a2d15d1918a49e9a4b3fa803e5d8cf5d3150 | |
parent | d2a382f55e646cb3ffedb47629911681006321b1 (diff) |
Allow scrolling in text area with mouse wheel
Previously translations for buttons 4 & 5 were only set for the
scrollbar, so required the mouse to be over the scrollbar to use
the mouse wheel. This enables the translations when the mouse is
over the text area as well.
Fixes: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=201994
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | app-defaults/XConsole | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app-defaults/XConsole b/app-defaults/XConsole index 7f80141..2519ca6 100644 --- a/app-defaults/XConsole +++ b/app-defaults/XConsole @@ -8,9 +8,13 @@ XConsole.baseTranslations: #override\ <UnmapNotify>: Iconified() \n\ <Message>WM_PROTOCOLS: Quit() *text.translations: #override\ + <Btn4Down>: scroll-one-line-down() \n\ + <Btn5Down>: scroll-one-line-up() \n\ Ctrl<KeyPress>C: Clear() \n\ <KeyPress>Clear: Clear() *text.baseTranslations: #override\ + <Btn4Down>: scroll-one-line-down() \n\ + <Btn5Down>: scroll-one-line-up() \n\ Ctrl<KeyPress>C: Clear() \n\ <KeyPress>Clear: Clear() *text.scrollVertical: Always |