Marco Trevisan (Treviño) 7951ddab40 window-x11: Accept any focusable window as fallback focus
As per commit f71151a5 we were ignoring WM_TAKE_FOCUS-only windows as focus
targets, however this might end-up in an infinite loop if there are multiple
non-input windows stacked.

So, accept any focusable window as fallback focus target even if it's a
take-focus one (that might not reply to the request).

Added a stacking test to verify this.

Closes: https://gitlab.gnome.org/GNOME/mutter/issues/660
https://gitlab.gnome.org/GNOME/mutter/merge_requests/669

(cherry picked from commit c327b2df95ff9979dd22bca2e0d285e1b3ba0add)
2019-07-08 17:42:30 +02:00
..
2018-05-07 22:06:02 +02:00
2018-05-07 22:29:42 +02:00
2015-07-05 22:01:59 -07:00
2015-07-05 22:01:59 -07:00