I wrote a program that connects to the X server and grabs a number of keys using XGrabKey(). In an infinite while loop events are retrieved by XNextEvent(). The client has no window. So the client should only receive those key events that where specified in the XGrabKey() calls. The client however also receives key events sent by XTestFakeKey() that are not grabbed. The XTestFakeKey() function is called within the same program, but a different connection to the X server is used for this function.
*** Bug 5593 has been marked as a duplicate of this bug. ***
Sorry about the phenomenal bug spam, guys. Adding xorg-team@ to the QA contact so bugs don't get lost in future.
Marvin: can you confirm if this is still an issue. I just can't see how it could happen with the current code. If it still happens, can you please attach the program you wrote to test this?
Sorry but this was not a bug. All key events were received after the keyboard has been grabbed. So this report can be closed.
done. closing as invalid.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.