diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2013-01-29 15:13:44 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2013-02-08 13:47:24 +1000 |
commit | 9fd6cb89539fde44a41ae5183c89ef9c8831c8dd (patch) | |
tree | c19141e812ab7237ec8145c1d4f9c3d5c975dc54 /Xext/xtest.c | |
parent | a191dbfe850ed9c6440346f59cb0078e0e844edc (diff) |
Xext: pass the current screen to miProcessDeviceEvent() from xtest calls
Not passing in a screen means we skip the screen crossing updates, so a
xtest event that changes between ScreenRecs won't do so until the next
physical event comes in or never, whichever comes earlier.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'Xext/xtest.c')
-rw-r--r-- | Xext/xtest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xext/xtest.c b/Xext/xtest.c index 6519b9c82..209bbdd72 100644 --- a/Xext/xtest.c +++ b/Xext/xtest.c @@ -418,7 +418,7 @@ ProcXTestFakeInput(ClientPtr client) } for (i = 0; i < nevents; i++) - mieqProcessDeviceEvent(dev, &xtest_evlist[i], NULL); + mieqProcessDeviceEvent(dev, &xtest_evlist[i], miPointerGetScreen(inputInfo.pointer)); if (need_ptr_update) miPointerUpdateSprite(dev); |