From ed557fa5aa8fc8fdcb3ae5422a318007603680b8 Mon Sep 17 00:00:00 2001 From: DreamMaoMao <2523610504@qq.com> Date: Thu, 1 Jan 2026 12:37:00 +0800 Subject: [PATCH] fix: miss set floating window not overlap to non-custom pos client --- src/mango.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/mango.c b/src/mango.c index 2e70acf..1aea231 100644 --- a/src/mango.c +++ b/src/mango.c @@ -1287,7 +1287,6 @@ void applyrules(Client *c) { const ConfigWinRule *r; Monitor *m = NULL; Client *fc = NULL; - bool hit_rule_pos = false; Client *parent = NULL; parent = client_get_parent(c); @@ -1417,7 +1416,7 @@ void applyrules(Client *c) { arrange(c->mon, false, false); } - if (c->isfloating && !hit_rule_pos && !c->isnamedscratchpad) { + if (c->isfloating && !c->iscustompos && !c->isnamedscratchpad) { wl_list_remove(&c->link); wl_list_insert(clients.prev, &c->link); set_float_malposition(c);