Bug 27303

Summary: mose click ignored if menu is open
Product: xorg Reporter: eggyok <eggyok>
Component: Server/GeneralAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED NOTOURBUG QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description eggyok 2010-03-24 21:09:12 UTC
when a (pop-up) menu is open (displayed) mouse clicking off the menu closes this menu with no action (which is expected behavior) but the actual click is wasted (which is the problem).
In Windows each mouse click(left or right) acts the same way regardless if a pop-up menu is currently open or there is no menu on the screen

It would be nice to have a configuration option in X-Window system to enable treating each mouse click equally whether a (pop-up) menu is currently open on the screen or not. 

Please advise
Comment 1 Peter Hutterer 2010-03-25 21:51:04 UTC
this behaviour is usually implemented by the client using a passive grab. a synchronized passive grab allows to replay the event upon thawing the device (XAllowEvents). Many window managers do exactly this to bring a window to the foreground before the click is sent to the client.

I claim this as NOTOURBUG, it is possible to implement clients that do exactly that though I admit it's not necessarily pretty code for the client.

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.