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
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.