mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-10-29 05:40:21 -04:00
opt: not handle maximize request when ignore_maximize
This commit is contained in:
parent
15e6b10c20
commit
702bc7fdef
1 changed files with 1 additions and 1 deletions
|
|
@ -3423,7 +3423,7 @@ maximizenotify(struct wl_listener *listener, void *data) {
|
||||||
// togglemaxmizescreen(&(Arg){0});
|
// togglemaxmizescreen(&(Arg){0});
|
||||||
Client *c = wl_container_of(listener, c, maximize);
|
Client *c = wl_container_of(listener, c, maximize);
|
||||||
|
|
||||||
if (!c || !c->mon || c->iskilling)
|
if (!c || !c->mon || c->iskilling || c->ignore_maximize)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (c->ismaxmizescreen || c->isfullscreen)
|
if (c->ismaxmizescreen || c->isfullscreen)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue