Re: Mouse wheel
Andrew Gaylard <[email protected]>
| Newsgroups | gmane.comp.debugging.ddd.general |
|---|---|
| Message-ID | <[email protected]> |
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.
_______________________________________________
Ddd mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/ddd