]> git.sur5r.net Git - i3/i3/blobdiff - testcases/t/135-floating-focus.t
Remove special handling of floating containers in con_next_focused
[i3/i3] / testcases / t / 135-floating-focus.t
index 282bab43d26f9ab62212a435ae245bd5d78f3b00..168151f4c0191018883f4e741248116614f6efb6 100644 (file)
@@ -105,18 +105,14 @@ cmd 'split v';
 cmd 'layout stacked';
 $second = open_window({ background_color => '#00ff00' });   # window 6
 $third = open_window({ background_color => '#0000ff' }); # window 7
-
 is($x->input_focus, $third->id, 'last container focused');
 
-cmd 'floating enable';
-
 cmd '[id="' . $second->id . '"] focus';
-
-is($x->input_focus, $second->id, 'second con focused');
-
 cmd 'floating enable';
+cmd '[id="' . $third->id . '"] floating enable';
 
 sync_with_i3;
+is($x->input_focus, $second->id, 'second con focused');
 
 # now kill the second one. focus should fall back to the third one, which is
 # also floating