Files
xserver/dix
Peter Hutterer 2cb63180fa dix: mark motion events as emulated if we're scrolling from button press
The protocol requires that the emulated event is marked as such. So if a
driver with smooth scrolling axis sends legacy button events, the motion
event must be marked as emulated.

Pass the real type to emulate_scroll_button_events and create the events
accordingly. For real button press or relase events, only that event must be
generated since a release event will follow or a press event has already
occured, respectively. (This fixes a bug where we'd get two release events
for each legacy button event)

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
2011-10-18 09:15:54 +10:00
..
2010-05-13 06:16:48 +07:00
2003-11-14 16:49:22 +00:00
2003-11-14 15:54:54 +00:00
2011-10-04 13:01:33 +10:00
2010-11-11 23:20:35 +02:00
2011-06-23 05:28:31 -07:00
2010-12-06 19:15:26 -08:00
2009-08-28 23:29:05 -04:00
2011-03-01 07:58:06 -05:00
2011-04-21 13:43:46 +10:00
2011-09-21 17:14:44 -04:00