From 0610964c222b81d2ea932152da5ae235f2033f0e Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Thu, 27 Sep 2012 12:37:38 +0200 Subject: [PATCH] add testcase for commit 87525ad --- testcases/t/113-urgent.t | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/testcases/t/113-urgent.t b/testcases/t/113-urgent.t index 85d2035d..ff44e0ea 100644 --- a/testcases/t/113-urgent.t +++ b/testcases/t/113-urgent.t @@ -213,6 +213,24 @@ sync_with_i3; $urgent = count_urgent(get_ws($tmp)); is($urgent, 0, 'All urgent flags got cleared'); +################################################################################ +# Regression test: Check that urgent floating containers work properly (ticket +# #821) +################################################################################ + +$tmp = fresh_workspace; +my $floating_win = open_floating_window; + +# switch away +fresh_workspace; + +$floating_win->add_hint('urgency'); +sync_with_i3; + +cmd "workspace $tmp"; + +does_i3_live; + exit_gracefully($pid); done_testing; -- 2.39.5