mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 08:00:42 -05:00
Add a test for stacking vs. minimization
Test that the guard window is in the right place. https://bugzilla.gnome.org/show_bug.cgi?id=737233
This commit is contained in:
parent
371560c2b6
commit
cdfb301200
@ -7,6 +7,7 @@ stackingdir = $(pkgdatadir)/tests/stacking
|
||||
dist_stacking_DATA = \
|
||||
tests/stacking/basic-x11.metatest \
|
||||
tests/stacking/basic-wayland.metatest \
|
||||
tests/stacking/minimized.metatest \
|
||||
tests/stacking/mixed-windows.metatest \
|
||||
tests/stacking/override-redirect.metatest
|
||||
|
||||
|
18
src/tests/stacking/minimized.metatest
Normal file
18
src/tests/stacking/minimized.metatest
Normal file
@ -0,0 +1,18 @@
|
||||
new_client 1 x11
|
||||
create 1/1
|
||||
show 1/1
|
||||
create 1/2
|
||||
show 1/2
|
||||
wait
|
||||
assert_stacking 1/1 1/2
|
||||
|
||||
minimize 1/2
|
||||
wait
|
||||
assert_stacking 1/2 | 1/1
|
||||
|
||||
# unminimize doesn't work for GTK+ currently, because GTK+ expects
|
||||
# to be able to de-iconify with MapWindow, but the window is already
|
||||
# mapped.
|
||||
activate 1/2
|
||||
wait
|
||||
assert_stacking 1/1 1/2
|
Loading…
Reference in New Issue
Block a user