mutter/src/tests/stacking
Marco Trevisan (Treviño) f71151a5dd window-x11: Focus the default window with delay while waiting for take-focus
When requesting to a take-focus window to acquire the input, the client may or
may not respond with a SetInputFocus (this doesn't happen for no-input gtk
windows in fact [to be fixed there too]), in such case we were unsetting the
focus while waiting the reply.

In case the client won't respond, we wait for a small delay (set to 250 ms) for
the take-focus window to grab the input focus before setting it to the default
window.

Added a test for this behavior and for the case in which a window takes the
focus meanwhile we're waiting to focus the default window.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/307
2019-06-24 09:42:07 +00:00
..
basic-wayland.metatest Add a test framework and stacking tests 2014-09-12 13:14:51 -04:00
basic-x11.metatest Add a test framework and stacking tests 2014-09-12 13:14:51 -04:00
client-side-decorated.metatest Don't restack windows while we are unmanaging them 2014-09-16 13:44:42 -04:00
closed-transient-no-input-no-take-focus-parent.metatest tests: Verify focused window in closed-transient tests 2019-06-24 09:42:07 +00:00
closed-transient-no-input-no-take-focus-parents.metatest tests: Verify focused window in closed-transient tests 2019-06-24 09:42:07 +00:00
closed-transient-no-input-parent-delayed-focus-default-cancelled.metatest window-x11: Focus the default window with delay while waiting for take-focus 2019-06-24 09:42:07 +00:00
closed-transient-no-input-parent.metatest window-x11: Focus the default window with delay while waiting for take-focus 2019-06-24 09:42:07 +00:00
closed-transient.metatest tests: Add "closed-transient" test 2018-07-30 17:48:42 +00:00
minimized.metatest Add a test for stacking vs. minimization 2014-09-24 16:51:20 -04:00
mixed-windows.metatest Add a test framework and stacking tests 2014-09-12 13:14:51 -04:00
override-redirect.metatest test-runner: represent the guard window as '|' for assert_stacking 2014-09-24 16:26:17 -04:00
set-parent-exported.metatest tests: Add the "parent_exported" test 2018-07-18 14:31:38 +02:00
set-parent.metatest tests: Add test for testing that setting a parent affects the stack 2015-12-23 14:59:36 +08:00