add testcase for commit 87525ad

This commit is contained in:
Michael Stapelberg 2012-09-27 12:37:38 +02:00
parent 1cbf665581
commit 0610964c22
1 changed files with 18 additions and 0 deletions

View File

@ -213,6 +213,24 @@ sync_with_i3;
$urgent = count_urgent(get_ws($tmp)); $urgent = count_urgent(get_ws($tmp));
is($urgent, 0, 'All urgent flags got cleared'); 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); exit_gracefully($pid);
done_testing; done_testing;