Bug 53897 - ButtonPress prevents the delivery of raw events
Summary: ButtonPress prevents the delivery of raw events
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/Input/Core (show other bugs)
Version: 7.7 (2012.06)
Hardware: All Linux (All)
: medium normal
Assignee: Peter Hutterer
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-21 21:48 UTC by dogg360
Modified: 2013-01-21 01:23 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description dogg360 2012-08-21 21:48:52 UTC
I'm using XInput 2.1/2.2 and the problem is that the delivery of raw events is prevented while the mouse-button is pressed on the client's window.
The server activates an implicit passive grab when I press the button.
The bug here is that the grab window is different to the root window.
Comment 1 Peter Hutterer 2012-08-22 00:31:30 UTC
http://patchwork.freedesktop.org/patch/11769/
Comment 2 dogg360 2012-08-31 14:07:17 UTC
Thank you for the patch, Peter!
I can't manage to compile the X server to test it. But I am quite sure the patch does what it should do. So everyone feel free to test it.
Comment 3 Peter Hutterer 2013-01-21 01:23:22 UTC
commit 4e13dd90144dde47550aceea4db4b4329e531279
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Wed Aug 22 10:34:07 2012 +1000

    dix: don't filter RawEvents if the grab window is not the root window (#53897)


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.