1
0
Fork 0
mutter-performance-source/src
Sebastian Keller d85c3c1e94 tests/stacking: Add test for when no default focus window can be found
The previous commit removed checks for intermediate focus states which
would make tests randomly fail, because of their time dependence. What
can be tested however is that if there is no other window available that
would accept the focus, that the focus remains at 'none', after the
focused window has been closed. This newly introduced test checks the
focus directly after closing the window (and syncing) and after the time
it would have taken for the queue to finish. The first check has a
similar timing issue as the removed focus checks in the other tests, but
the test will never accidentally fail, because regardless of whether the
queue has finished or not, the focus is always expected to be 'none'.

https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1329
2020-06-26 21:00:12 +00:00
..
backends gpu/kms: Turn off CRTCs as well for DPMS 2020-06-23 12:04:14 +02:00
compositor shaped-texture: Reintroduce clip_region 2020-06-22 17:56:01 +02:00
core clutter/input-device: Make clutter_input_device_get_actor() public 2020-06-16 10:09:26 +00:00
meta window-actor: Make freezing and thawing of actor updates public API 2020-06-15 13:10:16 +00:00
tests tests/stacking: Add test for when no default focus window can be found 2020-06-26 21:00:12 +00:00
ui window/x11: Use G_DECLARE_DERIVABLE_TYPE() 2020-04-16 14:08:19 +02:00
wayland wayland/xdg-shell: Don't use xdg_surface private to get window geometry 2020-06-26 07:47:41 +00:00
x11 window/x11: Don't stop early when trying to find default focus window 2020-06-22 17:12:49 +02:00
libmutter.pc.in build: Fix libs and cflags in autotools .pc file 2018-11-10 16:20:46 +00:00
meson.build crtc-kms: Make KMS CRTC mode a type inheriting MetaCrtcMode 2020-06-11 09:20:16 +00:00
meta-marshal.list cursor-tracker: Use our own marshal for cursor-moved 2019-07-31 09:34:17 +00:00
org.freedesktop.login1.xml MetaLauncher: Don't g_error() on failure 2015-11-06 17:03:59 -05:00
org.gnome.Mutter.DisplayConfig.xml monitor-manager: Remove "supports-mirroring" from D-Bus desciption file 2020-05-08 06:50:16 +00:00
org.gnome.Mutter.IdleMonitor.xml idle-monitor: Add ResetIdletime API, for testing purposes 2018-04-16 13:28:03 +02:00
org.gnome.Mutter.RemoteDesktop.xml Fix typo in RemoteDesktop dbus api 2019-05-22 16:21:57 +02:00
org.gnome.Mutter.ScreenCast.xml screen-cast: Add RecordArea for screen cast arbitrary area 2020-04-23 14:45:53 +00:00