]> git.sur5r.net Git - i3/i3/commitdiff
Switch to default mode before running the test
authorMichael Stapelberg <michael@stapelberg.de>
Wed, 5 Aug 2009 22:16:26 +0000 (00:16 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Wed, 5 Aug 2009 22:16:26 +0000 (00:16 +0200)
testcases/t/06-focus.t

index 1de7fdde56b456d5c3e4a7a0970de54e6532c214..f34095ca327013eec619bb6dd3456fefb9c62047 100644 (file)
@@ -32,10 +32,12 @@ sleep(0.25);
 # Create two windows and make sure focus switching works
 #####################################################################
 
-my $top = i3test::open_standard_window;
+# Change mode of the container to "default" for following tests
+$sock->write(i3test::format_ipc_command("d"));
 sleep(0.25);
+
+my $top = i3test::open_standard_window;
 my $mid = i3test::open_standard_window;
-sleep(0.25);
 my $bottom = i3test::open_standard_window;
 sleep(0.25);