diff --git a/src/Makefile-tests.am b/src/Makefile-tests.am index 63a5fd7be..278d3b048 100644 --- a/src/Makefile-tests.am +++ b/src/Makefile-tests.am @@ -14,6 +14,7 @@ stackingdir = $(pkgdatadir)/tests/stacking dist_stacking_DATA = \ $(srcdir)/tests/stacking/basic-x11.metatest \ $(srcdir)/tests/stacking/basic-wayland.metatest \ + $(srcdir)/tests/stacking/closed-transient.metatest \ $(srcdir)/tests/stacking/minimized.metatest \ $(srcdir)/tests/stacking/mixed-windows.metatest \ $(srcdir)/tests/stacking/set-parent.metatest \ diff --git a/src/tests/stacking/closed-transient.metatest b/src/tests/stacking/closed-transient.metatest new file mode 100644 index 000000000..5ca95ba0f --- /dev/null +++ b/src/tests/stacking/closed-transient.metatest @@ -0,0 +1,19 @@ +new_client 1 wayland +create 1/1 +show 1/1 + +new_client 2 wayland +create 2/1 +show 2/1 + +create 1/2 +show 1/2 +set_parent 1/2 1 + +wait +assert_stacking 1/1 2/1 1/2 + +destroy 1/2 + +wait +assert_stacking 2/1 1/1