Bug 27303 - mose click ignored if menu is open
Summary: mose click ignored if menu is open
Status: RESOLVED NOTOURBUG
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-24 21:09 UTC by eggyok
Modified: 2010-03-25 21:51 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.