Package: lesstif2
Version: 0.94.4-2

For a time now ddd has been scrolling up when I scroll down, and vice
versa (see #344154). I tracked this down to libXm - Transltns.c where
Btn4Down is bound to a down action and Btn5Down is bound to an up
action while they should be bound the other way around.
The following patch changes to the correct binding.
Cheers,
-Kacper

diff -urp lesstif2-0.94.4/lib/Xm-2.1/Transltns.c
lesstif2-0.94.4-kw/lib/Xm-2.1/Transltns.c
--- lesstif2-0.94.4/lib/Xm-2.1/Transltns.c      2004-10-02
16:01:57.000000000 +0200
+++ lesstif2-0.94.4-kw/lib/Xm-2.1/Transltns.c   2006-10-30
16:28:51.000000000 +0100
@@ -670,8 +670,8 @@ XmConst char _XmTextIn_XmTextEventBindin
    /* Scroll wheel */
    "\nShift<Btn4Down>:                page-left()"
    "\nShift<Btn5Down>:                page-right()"
-    "\n<Btn5Down>:             scroll-one-line-up()"
-    "\n<Btn4Down>:             scroll-one-line-down()"
+    "\n<Btn5Down>:             scroll-one-line-down()"
+    "\n<Btn4Down>:             scroll-one-line-up()"
#endif
    ;


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to