diff options
author | Keith Packard <keithp@keithp.com> | 2011-04-04 11:57:39 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2011-04-04 11:57:39 -0700 |
commit | c9d89cec1407550cb2568f4cef146c93607bbae6 (patch) | |
tree | f304c31842697512b659b0fa364f7582309d5210 /Xext | |
parent | a52049de2f846fe984d4db5ac8d2c1826c7b2d0b (diff) | |
parent | bc61787a20e7683cbc4dfa45fe855da98a8c0cd0 (diff) |
Merge remote-tracking branch 'vignatti/for-keith'
Diffstat (limited to 'Xext')
-rw-r--r-- | Xext/xtest.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Xext/xtest.c b/Xext/xtest.c index b26bc3387..6780aa62a 100644 --- a/Xext/xtest.c +++ b/Xext/xtest.c @@ -374,10 +374,7 @@ ProcXTestFakeInput(ClientPtr client) if (!dev->valuator) return BadDevice; - /* broken lib, XI events have root uninitialized */ - if (extension || ev->u.keyButtonPointer.root == None) - root = GetCurrentRootWindow(dev); - else + if (!(extension || ev->u.keyButtonPointer.root == None)) { rc = dixLookupWindow(&root, ev->u.keyButtonPointer.root, client, DixGetAttrAccess); |