Go to file
Rui Matos d9fc81e702 wayland: Ensure we don't focus xdg_popups iff they're non-grabbing
Commit 4295fdb892 made us skip focusing
all xdg_popups instead of just non-grabbing ones as intended. This
means that when unmanaging a window we might select a xdg_popup window
to focus (in meta_stack_get_default_focus_window() ) but then since we
don't actually focus it we go on unmanaging the focused window which
triggers an assertion, as it should.

To avoid this and still fixing bug 771694 we can make use of the
MetaWindow->input property for non-grabbing xdg_popup windows since
their semantics, in this regard, are the same as no input X11 windows.

This way, when unmanaging a focused window while a xdg_popup is up,
we'll either give focus to the xdg_popup or not select the popup at
all to be focused if it's non-grabbing.

https://bugzilla.gnome.org/show_bug.cgi?id=775986
2016-12-13 14:51:04 +01:00
clutter clutter/stage: Fix framebuffer capture origin offset (again) 2016-10-17 13:48:56 +02:00
cogl cogl/egl: Fix non-Wayland build 2016-09-02 17:04:11 +08:00
data build: Say good-bye to intltool 2016-08-19 11:04:48 +02:00
doc Remove gtk-doc 2015-07-06 00:52:18 -07:00
po Update zh_CN translation 2016-10-30 02:34:13 +08:00
src wayland: Ensure we don't focus xdg_popups iff they're non-grabbing 2016-12-13 14:51:04 +01:00
tools Clean up the source tree 2014-03-18 20:37:35 -04:00
.gitignore wayland: Add support for the xdg-foreign protocol 2016-08-22 21:03:41 +08:00
autogen.sh build: Drop deprecated autogen.sh variables 2015-03-04 21:00:48 +01:00
configure.ac Bump version to 3.22.2 2016-11-10 15:11:39 +01:00
COPYING Updated obsolete FSF postal address in COPYING 2014-01-13 11:35:48 -05:00
Makefile.am Fix the merged build 2016-04-27 20:37:47 +02:00
mutter.doap doap: add <programming-language> 2014-07-31 17:50:28 +02:00
NEWS Bump version to 3.22.2 2016-11-10 15:11:39 +01:00