bugfix: need to use window_type instead of type in t/04-floating.t
This commit is contained in:
parent
df2ded08d8
commit
6c699801ab
|
@ -17,7 +17,7 @@ my $window = $x->root->create_child(
|
||||||
rect => [ 0, 0, 30, 30],
|
rect => [ 0, 0, 30, 30],
|
||||||
background_color => '#C0C0C0',
|
background_color => '#C0C0C0',
|
||||||
# replace the type with 'utility' as soon as the coercion works again in X11::XCB
|
# 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');
|
isa_ok($window, 'X11::XCB::Window');
|
||||||
|
@ -40,7 +40,7 @@ $window = $x->root->create_child(
|
||||||
class => WINDOW_CLASS_INPUT_OUTPUT,
|
class => WINDOW_CLASS_INPUT_OUTPUT,
|
||||||
rect => [ 1, 1, 80, 90],
|
rect => [ 1, 1, 80, 90],
|
||||||
background_color => '#C0C0C0',
|
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');
|
isa_ok($window, 'X11::XCB::Window');
|
||||||
|
|
Loading…
Reference in New Issue