2 # vim:ts=4:sw=4:expandtab
4 # Regression test for setting the urgent hint on dock clients.
5 # found in 4be3178d4d360c2996217d811e61161c84d25898
9 my $i3 = i3(get_socket_path());
11 my $tmp = fresh_workspace;
13 #####################################################################
14 # verify that there is no dock window yet
15 #####################################################################
17 # Children of all dockareas
18 my @docked = get_dock_clients;
20 is(@docked, 0, 'no dock clients yet');
24 my $window = open_window(
25 window_type => $x->atom(name => '_NET_WM_WINDOW_TYPE_DOCK'),
28 #####################################################################
29 # check that we can find it in the layout tree at the expected position
30 #####################################################################
32 @docked = get_dock_clients;
33 is(@docked, 1, 'one dock client found');
36 my $docknode = $docked[0];
38 is($docknode->{rect}->{height}, 30, 'dock node has unchanged height');
40 $window->add_hint('urgency');