Bug 53897

Summary: ButtonPress prevents the delivery of raw events
Product: xorg Reporter: dogg360
Component: Server/Input/CoreAssignee: Peter Hutterer <peter.hutterer>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: peter.hutterer
Version: 7.7 (2012.06)   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

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.