Bug 5592 - X client receives ungrabbed events
Summary: X client receives ungrabbed events
Status: RESOLVED INVALID
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: 6.8.2
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
: 5593 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-01-14 02:28 UTC by Marvin Raaijmakers
Modified: 2008-05-01 03:16 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Marvin Raaijmakers 2006-01-14 02:28:49 UTC
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.
Comment 1 Adam Jackson 2006-01-15 03:55:21 UTC
*** Bug 5593 has been marked as a duplicate of this bug. ***
Comment 2 Daniel Stone 2007-02-27 01:29:59 UTC
Sorry about the phenomenal bug spam, guys.  Adding xorg-team@ to the QA contact so bugs don't get lost in future.
Comment 3 Peter Hutterer 2008-04-27 03:55:46 UTC
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?
Comment 4 Marvin Raaijmakers 2008-05-01 02:05:02 UTC
Sorry but this was not a bug. All key events were received after the keyboard has been grabbed. So this report can be closed.
Comment 5 Peter Hutterer 2008-05-01 03:16:44 UTC
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.