Smooth scrolling

Max Schwarz Max at x-quadraht.de
Fri Apr 30 04:17:42 PDT 2010


> not really, all valuators sent to the clients are always absolute (with the
> exception of the ones in RawEvents). so even though the driver posts events
> as relative, they're just added to the current value and sent as absolute
> anyway.
What's the point of relative valuators on the driver-side then?
Seems over-complicated to me.

I could listen to RawEvents, but those are only sent to root windows, which 
makes checking if they are meant for my window a little tricky.

Do you think it is easier to modify Xorg itself to send relative events or 
should I interpret the absolute values on the client side? Overflow detection 
is possible, but not very nice as the values are doubles...
Clearly, the right way would be to report relative events.
I will start looking into Xorg where this addition of relative events takes 
place.

Max


More information about the xorg-devel mailing list