summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorOwen W. Taylor <otaylor@fishsoup.net>2014-09-24 16:16:03 -0400
committerOwen W. Taylor <otaylor@fishsoup.net>2014-09-24 16:51:20 -0400
commitcdfb30120074fe4067ab1ec0534af3529ee3c520 (patch)
tree141e806f3a3cbda79fdab08c40a9f02fe8f3ffdf /src/tests
parent371560c2b620bff18ad2601ad17d5060436915a6 (diff)
downloadmutter-cdfb30120074fe4067ab1ec0534af3529ee3c520.tar.gz
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
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/stacking/minimized.metatest18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/tests/stacking/minimized.metatest b/src/tests/stacking/minimized.metatest
new file mode 100644
index 000000000..3da236d19
--- /dev/null
+++ b/src/tests/stacking/minimized.metatest
@@ -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