|
From: | Andrew Gaylard |
Subject: | Re: Mouse wheel |
Date: | Sat, 17 Jun 2006 10:36:02 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060503 |
Orso Orso wrote:
When using the mouse wheel to scroll the source DDD moves it the other way around with respect to all other applications!Yeah, this is something that's annoyed me for a while! The behaviour of the mousewheel is configured at the Motif level. Add the following lines to the end of your ~/.Xresources: *XmText.Translations: #override\n\ <Btn5Down>,<Btn5Up>: scroll-one-line-up()scroll-one-line-up()scroll-one-line-up()scroll-one-line-up()\n\ <Btn4Down>,<Btn4Up>: scroll-one-line-down()scroll-one-line-down()scroll-one-line-down()scroll-one-line-down()\n (Font shrunk to ensure that this is exactly three lines, on my display anyway. Be careful if yours wraps...) Then do xrdb -merge ~/.Xresources Your display manager should do this automatically the next time you log in. Then try the mouse wheel in DDD. Take a look at http://colas.nahaboo.net/mouse-wheel-scroll/ for more information. If you're feeling generous, generate a patch to http://www.gnu.org/software/ddd/ with this information, and I'll apply it. Andrew. |
[Prev in Thread] | Current Thread | [Next in Thread] |