From: Michael Stapelberg Date: Sun, 20 Feb 2011 22:50:01 +0000 (+0100) Subject: tests: don’t skip t/10-dock.t, make it work again X-Git-Tag: tree-pr2~46 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=bafb065d7c985a377c223fc7c2ef1631853d6861;p=i3%2Fi3 tests: don’t skip t/10-dock.t, make it work again --- diff --git a/testcases/t/10-dock.t b/testcases/t/10-dock.t index f53626a5..66a05b26 100644 --- a/testcases/t/10-dock.t +++ b/testcases/t/10-dock.t @@ -10,9 +10,6 @@ BEGIN { use_ok('X11::XCB::Connection') or BAIL_OUT('Cannot load X11::XCB::Connection'); } -SKIP: { - skip "Dock clients not yet implemented", 1; - my $x = X11::XCB::Connection->new; ##################################################################### @@ -30,7 +27,7 @@ my $window = $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'), + window_type => $x->atom(name => '_NET_WM_WINDOW_TYPE_DOCK'), ); $window->map; @@ -44,7 +41,7 @@ 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'), + window_type => $x->atom(name => '_NET_WM_WINDOW_TYPE_DOCK'), ); $fwindow->transient_for($window); @@ -54,4 +51,3 @@ sleep 0.25; diag( "Testing i3, Perl $], $^X" ); -}