From fcd8518d81132a5212c520929b6e317fbd382f7e Mon Sep 17 00:00:00 2001
From: Michael Stapelberg <michael@stapelberg.de>
Date: Sat, 20 Nov 2010 20:17:25 +0100
Subject: [PATCH] =?UTF-8?q?floating-unmap.t:=20switch=20order,=20don?=
 =?UTF-8?q?=E2=80=99t=20use=20workaround?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../{36-floating-unmap.t => 37-floating-unmap.t}  | 15 +--------------
 1 file changed, 1 insertion(+), 14 deletions(-)
 rename testcases/t/{36-floating-unmap.t => 37-floating-unmap.t} (79%)

diff --git a/testcases/t/36-floating-unmap.t b/testcases/t/37-floating-unmap.t
similarity index 79%
rename from testcases/t/36-floating-unmap.t
rename to testcases/t/37-floating-unmap.t
index 9d122fab..8fc7c4c0 100644
--- a/testcases/t/36-floating-unmap.t
+++ b/testcases/t/37-floating-unmap.t
@@ -3,7 +3,7 @@
 # Regression test: Floating windows were not correctly unmapped when switching
 # to a different workspace.
 
-use i3test tests => 5;
+use i3test tests => 4;
 use X11::XCB qw(:all);
 use Time::HiRes qw(sleep);
 
@@ -22,19 +22,6 @@ $i3->command("workspace $tmp")->recv;
 
 my $x = X11::XCB::Connection->new;
 
-# FIXME: we open a tiling container as long as t/37* is not done (should swap positions with t/36* then)
-my $twindow = $x->root->create_child(
-    class => WINDOW_CLASS_INPUT_OUTPUT,
-    rect => [ 0, 0, 30, 30],
-    background_color => '#C0C0C0',
-);
-
-isa_ok($twindow, 'X11::XCB::Window');
-
-$twindow->map;
-
-sleep 0.25;
-
 # Create a floating window which is smaller than the minimum enforced size of i3
 my $window = $x->root->create_child(
     class => WINDOW_CLASS_INPUT_OUTPUT,