dix: NewCurrentScreen must work on pointers where possible
authorPeter Hutterer <peter.hutterer@who-t.net>
Thu, 1 Sep 2011 23:53:02 +0000 (09:53 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Tue, 4 Oct 2011 03:00:26 +0000 (13:00 +1000)
commitd0a7cd759d4741a1ae118d579c90704410cde244
tree3cf2825f7d8def89ea38aae83b433c4c8784c4f2
parent535b3789be3a7b43b5d9026e2b5150521d91e32b
dix: NewCurrentScreen must work on pointers where possible

When a screen switch is triggered by PointerKeys, the device for
NewCurrentScreen is the keyboard. Submitting pointer events for this
keyboard (without valuators) has no effect as GPE ignores the event.

Force the dequeuing through the XTest device attached to this device.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
dix/events.c