---- Original Message -----
From: <[EMAIL PROTECTED]>
> > option "ZAxisMapping". You should probably put there "4 5 7 8"
> This didn't work, but  option "ZAxisMapping". "4 5 6 7" did
>
> Strangely enough, the second wheel behaviour is not consistent accross
> applications. I would have thought that if X takes care of the events, all
> applications would react the same waay, but this is not the case. In some
apps
> the second wheel works as expected. In others it doesn't - or even works
wrong.
Most applications don't support a wheel mouse internally, at all - so
expecting them to support two wheels is kind of far out. Unlike some GUIs,
writing for X (or GTK or whatever toolkit you use), you don't get correct
wheel behaviour by default. you have to code it yourself (like mozilla does,
for example - catching the "button" events and responding properly).
Another way to go about it, is to map the wheel's scrolling "button" events
to a keyboard even that you want them to issue (PgDn/PgUp or
cursor-right/cursor-left) by using Xresources (I think) this can be done per
application, and after careful setting you can get the behaviour you want
from each application you work with (possibly - some behaviours do not map
to any keyboard combination, and hence cannot be used with mouse wheels w/o
a bit of coding).

> > About your second question, sounds like something you should modify in
> > the code, or convice the author to change this in the code. (Unless
> > there's an option to change that in KMail, I don't know it too well. use
> > evolution :) ).
> I haven't found any option to solve the problem in KMail. But here's the
> strangest thing of all. As I mentioned previously, KMail has three
windows -
> message, message list and folder list. My question was how to get the
proper
> window to scroll using the wheel - i.e. have scrolling in the window where
> the cursor is located. The default behaviour is to scroll only the message
> window, regardless of where the cursor is.
This is definetly something you should code into the application - by
default, in any application, the wheel scroll only the "active" view
(becuase its actually doing PgUp/PgDn key events) - to get any different
behaviour you'll need to code it. as to the weird way KMail reacts to the
second wheel - I can't say I understand why it does it - I can only assume
that maybe one of KMail developers has a two wheel mouse and though that
having the second wheel scroll a different view would be a good idea.
programmers- go figure ;-)

Oded

--
Was it Ritchie or Thompson who said about X:
  "Sometimes, when you fill a vacuum, it still sucks"?




=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to