Get rid of references to level up/down.

In v4 syntax, that's focus parent/child.
This commit is contained in:
Fernando Tarlá Cardoso Lemos 2012-05-27 01:44:29 -03:00 committed by Michael Stapelberg
parent 04b5ec8165
commit 485871ffdd
4 changed files with 8 additions and 8 deletions

View File

@ -22,10 +22,10 @@ my ($nodes, $focus) = get_ws_content($tmp);
is($nodes->[0]->{focused}, 0, 'split container not focused'); is($nodes->[0]->{focused}, 0, 'split container not focused');
# focus the split container # focus the split container
cmd 'level up'; cmd 'focus parent';
($nodes, $focus) = get_ws_content($tmp); ($nodes, $focus) = get_ws_content($tmp);
my $split = $focus->[0]; my $split = $focus->[0];
cmd 'level down'; cmd 'focus child';
$second = open_empty_con($i3); $second = open_empty_con($i3);
@ -60,10 +60,10 @@ cmd 'split v';
is($nodes->[0]->{focused}, 0, 'split container not focused'); is($nodes->[0]->{focused}, 0, 'split container not focused');
# focus the split container # focus the split container
cmd 'level up'; cmd 'focus parent';
($nodes, $focus) = get_ws_content($tmp); ($nodes, $focus) = get_ws_content($tmp);
$split = $focus->[0]; $split = $focus->[0];
cmd 'level down'; cmd 'focus child';
$second = open_empty_con($i3); $second = open_empty_con($i3);

View File

@ -18,7 +18,7 @@ my $mid = open_window;
my $right = open_window; my $right = open_window;
# go to workspace level # go to workspace level
sync_cmd 'level up'; sync_cmd 'focus parent';
# make it floating # make it floating
sync_cmd 'mode toggle'; sync_cmd 'mode toggle';

View File

@ -9,8 +9,8 @@ use i3test;
fresh_workspace; fresh_workspace;
cmd 'open'; cmd 'open';
cmd 'level up'; cmd 'focus parent';
cmd 'level up'; cmd 'focus parent';
cmd 'mode toggle'; cmd 'mode toggle';
does_i3_live; does_i3_live;

View File

@ -30,7 +30,7 @@ is($nodes->[0]->{fullscreen_mode}, 1, 'client fullscreen now');
##################################################################### #####################################################################
# send level up, try to un-fullscreen # send level up, try to un-fullscreen
##################################################################### #####################################################################
cmd 'level up'; cmd 'focus parent';
cmd 'fullscreen'; cmd 'fullscreen';
$nodes = get_ws_content $tmp; $nodes = get_ws_content $tmp;