feat: add isnosizehit option to windowrule

This commit is contained in:
DreamMaoMao 2025-08-05 21:04:05 +08:00
parent c8513da37e
commit b65700ea6f
3 changed files with 13 additions and 4 deletions

View file

@ -795,7 +795,8 @@ void resize(Client *c, struct wlr_box geo, int interact) {
bbox); // 去掉这个推荐的窗口大小,因为有时推荐的窗口特别大导致平铺异常
}
if (!c->ismaxmizescreen && !c->isfullscreen && c->isfloating) {
if (!c->isnosizehint && !c->ismaxmizescreen && !c->isfullscreen &&
c->isfloating) {
client_set_size_bound(c);
}