CONFIG BREAK: rename 'mode floating/tiling' to 'floating enable/disable'
The three different variants now: floating enable floating disable floating toggle
This commit is contained in:
@ -47,7 +47,7 @@ $tmp2 = get_unused_workspace();
|
||||
cmd "workspace $tmp";
|
||||
|
||||
cmd "open";
|
||||
cmd "mode toggle";
|
||||
cmd "floating toggle";
|
||||
|
||||
my $ws = get_ws($tmp);
|
||||
is(@{$ws->{nodes}}, 0, 'no nodes on workspace');
|
||||
|
@ -54,10 +54,10 @@ is(@{$nodes->[1]->{nodes}}, 2, 'two windows in split con');
|
||||
# 2: make it tiling, see where it ends up
|
||||
#############################################################################
|
||||
|
||||
cmd 'mode toggle';
|
||||
cmd 'floating toggle';
|
||||
|
||||
my ($nodes, $focus) = get_ws_content($tmp);
|
||||
|
||||
is(@{$nodes->[1]->{nodes}}, 3, 'three windows in split con after mode toggle');
|
||||
is(@{$nodes->[1]->{nodes}}, 3, 'three windows in split con after floating toggle');
|
||||
|
||||
done_testing;
|
||||
|
@ -29,7 +29,7 @@ ok($window->mapped, 'Window is mapped');
|
||||
cmp_ok($absolute->{width}, '>', 400, 'i3 raised the width');
|
||||
cmp_ok($absolute->{height}, '>', 150, 'i3 raised the height');
|
||||
|
||||
cmd 'mode toggle';
|
||||
cmd 'floating toggle';
|
||||
sleep 0.25;
|
||||
|
||||
($absolute, $top) = $window->rect;
|
||||
|
@ -49,7 +49,7 @@ sleep 0.25;
|
||||
#####################################################################
|
||||
cmd 'nop setting floating';
|
||||
cmd 'focus parent';
|
||||
cmd 'mode floating';
|
||||
cmd 'floating enable';
|
||||
|
||||
#####################################################################
|
||||
# Get geometry of the first floating node (the split container)
|
||||
|
Reference in New Issue
Block a user