aboutsummaryrefslogtreecommitdiffstats
path: root/src/tilite.c
diff options
context:
space:
mode:
authorGravatar BanceDev 2026-02-20 17:32:10 -0500
committerGravatar BanceDev 2026-02-20 17:32:10 -0500
commit28a67ab74fb5beb160806cc699635f01da038ada (patch)
tree733c4a16eafa5e5cce85744622a6165479db2f26 /src/tilite.c
parentfixed workspace switch unmap bug (diff)
prevent popup windows from being inserted into the tree
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) {