GNOME Bugzilla – Bug 743257
Popover not dismissed on clicking the header bar
Last modified: 2015-01-28 17:16:02 UTC
When there is a popover, it is not dismissed when clicking the header bar. For example, in gtk3-widget-factory, the action menu which contains the toggle for Dark Theme is not dismissed when clicking the header bar. I guess it is expected the popover is dismissed always another widget is clicked.
Created attachment 295390 [details] [review] window: Only claim the sequence if keeping the grab If the grab belongs elsewhere, the window won't claim the sequence right away. The sequence may still be claimed afterwards when window dragging starts, but simple clicks won't be consumed this way. This makes it possible to close popovers when clicking on the title region, while still permitting touch/button 1 interaction for every other purpose.
Attachment 295390 [details] pushed as 3f4df06 - window: Only claim the sequence if keeping the grab