mutter/src/tests/stacking
Jonas Ådahl aa7653bed7 tests: Test hotplugs when having unmapped Wayland window
This checks that an unmapped but created Wayland window correctly handle
monitor changes. This is specifically added to test an edge case causing
a crash with the following backtrace:

```
  ...
   4) 0x00007ffff78a2a6b in g_assertion_message_expr ()
   5) 0x00007ffff7defd5b in meta_window_update_for_monitors_changed () at ../src/core/window.c:3745
   6) 0x00007ffff7899758 in g_slist_foreach () at ../glib/gslist.c:885
   7) 0x00007ffff7dbe562 in meta_display_foreach_window () at ../src/core/display.c:3185
   8) 0x00007ffff7dbe5fd in on_monitors_changed_internal () at ../src/core/display.c:3210
   9) 0x00007ffff796f4ff in g_closure_invoke () at ../gobject/gclosure.c:830
  10) 0x00007ffff7981316 in signal_emit_unlocked_R () at ../gobject/gsignal.c:3740
  11) 0x00007ffff7987699 in g_signal_emit_valist () at ../gobject/gsignal.c:3495
  12) 0x00007ffff7987bc2 in g_signal_emit () at ../gobject/gsignal.c:3551
  13) 0x00007ffff7d89915 in meta_monitor_manager_notify_monitors_changed () at ../src/backends/meta-monitor-manager.c:3517
  ...
```

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2554>
2022-08-11 11:32:42 +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-resize-respect-constraints.metatest tests/respect-constraints: Explicitly set monitor size 2022-08-11 11:32:42 +00: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-default-focus.metatest tests/stacking: Add test for when no default focus window can be found 2020-06-26 21:00:12 +00: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 tests/stacking: Don't test for time-dependent intermediate focus state 2020-06-26 21:00:12 +00:00
closed-transient-no-input-parent.metatest tests/stacking: Don't test for time-dependent intermediate focus state 2020-06-26 21:00:12 +00:00
closed-transient-no-input-parents-queued-default-focus-destroyed.metatest tests/stacking: Don't test for time-dependent intermediate focus state 2020-06-26 21:00:12 +00:00
closed-transient-no-input-parents.metatest tests/stacking: Don't test for time-dependent intermediate focus state 2020-06-26 21:00:12 +00:00
closed-transient-only-take-focus-parents.metatest tests/stacking: Avoid random failures in focus tests 2020-06-21 05:00:03 +02:00
closed-transient.metatest tests: Add "closed-transient" test 2018-07-30 17:48:42 +00:00
default-size.metatest tests/stacking: Add test checking the initial size 2020-05-07 23:15:25 +00:00
fullscreen-maximize.metatest tests/stacking: Test some maximize fullscreen interaction 2020-05-07 23:15:24 +00:00
map-fixed-size.metatest tests/stacking: Add test for initially fixed size windows 2021-07-05 10:27:58 +00:00
map-on-hotplug.metatest tests: Test hotplugs when having unmapped Wayland window 2022-08-11 11:32: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
modals.metatest tests/stacking: Add test hiding a modal with a not shown parent 2020-12-18 17:17:50 +00:00
override-redirect.metatest test-runner: represent the guard window as '|' for assert_stacking 2014-09-24 16:26:17 -04:00
restore-position.metatest tests/stacking/restore-position: Always use wait_reconfigure 2020-05-29 14:47:10 +00:00
restore-size.metatest tests/restore-size: Also test that untiling restores correctly 2020-05-07 23:15:25 +00:00
set-override-redirect-parent.metatest window-props: Read WM_TRANSIENT_FOR for override-redirect windows 2019-11-07 18:43:16 +00: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
unfullscreen-strut-change.metatest tests: Add test for unfullscreening followed by immediate strut change 2021-11-17 09:42:13 +00:00
unmaximize-new-size.metatest tests/stacking: Check that unmaximize to new size works 2020-05-07 23:15:24 +00:00