Rui Matos d9fc81e702 wayland: Ensure we don't focus xdg_popups iff they're non-grabbing
Commit 4295fdb892d4474b68e98aa783b725f99c1a2d3a 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
2016-09-02 17:04:11 +08:00
2016-08-19 11:04:48 +02:00
2015-07-06 00:52:18 -07:00
2016-10-30 02:34:13 +08:00
2014-03-18 20:37:35 -04:00
2016-11-10 15:11:39 +01:00
2016-04-27 20:37:47 +02:00
2014-07-31 17:50:28 +02:00
2016-11-10 15:11:39 +01:00
Description
94 MiB
Languages
C 98.9%
Meson 0.7%
Python 0.3%