opt: set client maximize state false when toggle floating

This commit is contained in:
DreamMaoMao 2025-10-16 09:21:51 +08:00
parent e7184762a4
commit 702c24e8b1

View file

@ -4358,6 +4358,9 @@ setfloating(Client *c, int floating) {
set_size_per(c->mon, c);
}
if (!c->force_maximize)
client_set_maximized(c, false);
arrange(c->mon, false);
setborder_color(c);
printstatus();