dix: fill out root_x/y for keyboard events
authorPeter Hutterer <peter.hutterer@who-t.net>
Tue, 30 Aug 2011 03:37:31 +0000 (13:37 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Tue, 4 Oct 2011 03:00:21 +0000 (13:00 +1000)
commit9537afb13f2750d22350b7441570332ae60e4860
tree20f5aaa37500e6705aeed96ca9dfac8f09afcbc3
parent6378d0233d21088b6429755627b4253859892c72
dix: fill out root_x/y for keyboard events

Switching screens relies on rootx/y to be set to the correct value. Note:
though we technically take a mask for GetKeyboardEvents we don't actually
handle it properly to move the pointer as required (and generate motion
events if needed).

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