diff options
author | Paulo Ricardo Zanoni <prz05@c3sl.ufpr.br> | 2007-04-26 15:58:50 +0930 |
---|---|---|
committer | Peter Hutterer <peter@cs.unisa.edu.au> | 2007-04-26 15:58:50 +0930 |
commit | 82f97e1c0cc15b050edc82a8f3b9a423d6cf5fe7 (patch) | |
tree | 6f9c7205f391c65ef8076736abc3cb135ce19d88 /Xext/xtest.c | |
parent | d61ed6c8a2823a3532439d5cb9f355129c93f523 (diff) |
Enable event delivery for multiple heads.
Requires moving the spriteTrace into the DeviceIntRec and adjusting a few
functions to take in device argument, most notably XYToWindow().
Cursor rendering on the second screen is busted.
Diffstat (limited to 'Xext/xtest.c')
-rw-r--r-- | Xext/xtest.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Xext/xtest.c b/Xext/xtest.c index 93e88c471..963029cce 100644 --- a/Xext/xtest.c +++ b/Xext/xtest.c @@ -363,7 +363,7 @@ ProcXTestFakeInput(client) if (!dev) dev = PickPointer(client); if (ev->u.keyButtonPointer.root == None) - root = GetCurrentRootWindow(); + root = GetCurrentRootWindow(dev); else { rc = dixLookupWindow(&root, ev->u.keyButtonPointer.root, client, @@ -428,10 +428,10 @@ ProcXTestFakeInput(client) if ((!noPanoramiXExtension && root->drawable.pScreen->myNum != XineramaGetCursorScreen(dev)) - || (noPanoramiXExtension && root != GetCurrentRootWindow())) + || (noPanoramiXExtension && root != GetCurrentRootWindow(dev))) #else - if (root != GetCurrentRootWindow()) + if (root != GetCurrentRootWindow(dev)) #endif { NewCurrentScreen(dev, root->drawable.pScreen, |