From: Michael Stapelberg Date: Thu, 27 Sep 2012 10:37:38 +0000 (+0200) Subject: add testcase for commit 87525ad X-Git-Tag: 4.4~104 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0610964c222b81d2ea932152da5ae235f2033f0e;p=i3%2Fi3 add testcase for commit 87525ad --- 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;