ddd
[Top][All Lists]
Advanced

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

Re: Mouse wheel


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!
Is there a way to swap the source scrolling with respect to the mouse wheel movement? Is there a way to make mouse scrolling faster ( i.e. more than one line per wheel step movement)?

Thank you in advance.
Orso
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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]