]> git.sur5r.net Git - i3/i3/commitdiff
Extend testcase for dock clients with wm_transient_for hint
authorMichael Stapelberg <michael@stapelberg.de>
Fri, 1 Jan 2010 15:19:55 +0000 (16:19 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Fri, 1 Jan 2010 15:19:55 +0000 (16:19 +0100)
testcases/t/10-dock.t

index 97ac5f418c06c3e9bfc53ca242a44d0bdbb46035..b1b7bfcb6415b7c73235ada7736e41e99d94ef13 100644 (file)
@@ -43,4 +43,17 @@ sleep 0.25;
 my $rect = $window->rect;
 is($rect->width, $primary->rect->width, 'dock client is as wide as the screen');
 
+my $fwindow = $x->root->create_child(
+    class => WINDOW_CLASS_INPUT_OUTPUT,
+    rect => [ 0, 0, 30, 30],
+    background_color => '#FF0000',
+    type => $x->atom(name => '_NET_WM_WINDOW_TYPE_DOCK'),
+);
+
+$fwindow->transient_for($window);
+$fwindow->map;
+
+sleep 0.25;
+
+
 diag( "Testing i3, Perl $], $^X" );