aboutsummaryrefslogtreecommitdiffstats
path: root/src/tilite.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tilite.c')
-rw-r--r--src/tilite.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tilite.c b/src/tilite.c
index 549c6d8..ad617fa 100644
--- a/src/tilite.c
+++ b/src/tilite.c
@@ -961,7 +961,10 @@ void hdl_map_req(XEvent *xev) {
}
if (should_float || global_floating)
+ {
c->floating = True;
+ bsp_remove(&bsp_roots[target_ws], c);
+ }
/* center floating windows & set border */
if (c->floating && !c->fullscreen) {