fix: swallow win not exclude wayland floating rule

This commit is contained in:
DreamMaoMao 2025-03-31 20:20:26 +08:00
parent 3e47d6ed2c
commit 9474c5d7fc

View file

@ -1523,7 +1523,7 @@ applyrules(Client *c) {
}
}
if (!c->noswallow && !client_is_float_type(c)
if (!c->noswallow && !c->isfloating && !client_is_float_type(c)
&& !c->surface.xdg->initial_commit) {
Client *p = termforwin(c);
if (p) {