mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-11-12 13:30:01 -05:00
feat: add isnosizehit option to windowrule
This commit is contained in:
parent
c8513da37e
commit
b65700ea6f
3 changed files with 13 additions and 4 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue