From 56c6ba03598e8b386377735a7f523213e28df086 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Fri, 12 Nov 2010 20:36:37 +0100 Subject: [PATCH] bugfix: need to use window_type instead of type in t/04-floating.t --- testcases/t/04-floating.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testcases/t/04-floating.t b/testcases/t/04-floating.t index 9049b9dc..65bd09ad 100644 --- a/testcases/t/04-floating.t +++ b/testcases/t/04-floating.t @@ -22,7 +22,7 @@ my $window = $x->root->create_child( rect => [ 0, 0, 30, 30], background_color => '#C0C0C0', # replace the type with 'utility' as soon as the coercion works again in X11::XCB - type => $x->atom(name => '_NET_WM_WINDOW_TYPE_UTILITY'), + window_type => $x->atom(name => '_NET_WM_WINDOW_TYPE_UTILITY'), ); isa_ok($window, 'X11::XCB::Window'); @@ -45,7 +45,7 @@ $window = $x->root->create_child( class => WINDOW_CLASS_INPUT_OUTPUT, rect => [ 1, 1, 80, 90], background_color => '#C0C0C0', - type => $x->atom(name => '_NET_WM_WINDOW_TYPE_UTILITY'), + window_type => $x->atom(name => '_NET_WM_WINDOW_TYPE_UTILITY'), ); isa_ok($window, 'X11::XCB::Window');