]> git.sur5r.net Git - i3/i3/commitdiff
Add a new test for moving clients to different workspaces (tiling and floating)
authorMichael Stapelberg <michael@stapelberg.de>
Thu, 1 Oct 2009 15:18:11 +0000 (17:18 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Thu, 1 Oct 2009 15:18:11 +0000 (17:18 +0200)
testcases/t/07-move.t

index 25f4ca8c94d6bdd96708e793517f226413466ab7..a4f9f4241ffd83a954960c28cd1e3293a6a21752 100644 (file)
@@ -4,7 +4,7 @@
 # the workspace to be empty).
 # TODO: skip it by default?
 
-use Test::More tests => 9;
+use Test::More tests => 10;
 use Test::Deep;
 use X11::XCB qw(:all);
 use Data::Dumper;
@@ -77,3 +77,14 @@ is($focus, $bottom->id, "Right window focused");
 
 $focus = focus_after("h");
 is($focus, $top->id, "Top window focused");
+
+#####################################################################
+# Move window cross-workspace
+#####################################################################
+
+$sock->write(i3test::format_ipc_command("m12"));
+$sock->write(i3test::format_ipc_command("t"));
+$sock->write(i3test::format_ipc_command("m13"));
+$sock->write(i3test::format_ipc_command("12"));
+$sock->write(i3test::format_ipc_command("13"));
+ok(1, "Still living");