From cf17e73293fda947c92fea0837f3f093dfa31ba4 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Thu, 1 Oct 2009 17:18:11 +0200 Subject: [PATCH] Add a new test for moving clients to different workspaces (tiling and floating) --- testcases/t/07-move.t | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/testcases/t/07-move.t b/testcases/t/07-move.t index 25f4ca8c..a4f9f424 100644 --- a/testcases/t/07-move.t +++ b/testcases/t/07-move.t @@ -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");