mi: return the screen from miPointerSetPosition
authorPeter Hutterer <peter.hutterer@who-t.net>
Mon, 3 Oct 2011 02:49:49 +0000 (12:49 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Tue, 11 Oct 2011 02:06:53 +0000 (12:06 +1000)
commit81cfe44b1ed0de84ad1941fe2ca74bebef3fc58d
treebd42f257e2fd338c6ce059c8add6c364768161c1
parent88dfe5366d9855e0ebf8bbff74967b793ede57d1
mi: return the screen from miPointerSetPosition

miPointerSetPosition may switch screens. Always return the screen the sprite
is on instead of relying on callers to call miPointerGetScreen().

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Jamey Sharp <jamey@minilop.net>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
dix/getevents.c
mi/mipointer.c
mi/mipointer.h