mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-10-29 05:40:21 -04:00
opt: not send minimized request to client when ignore_minimize is true
This commit is contained in:
parent
fb1d23632c
commit
3ea0f11084
1 changed files with 2 additions and 3 deletions
|
|
@ -3663,9 +3663,8 @@ minimizenotify(struct wl_listener *listener, void *data) {
|
||||||
if (!c || !c->mon || c->iskilling || c->isminied)
|
if (!c || !c->mon || c->iskilling || c->isminied)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (client_request_minimize(c, data)) {
|
if (client_request_minimize(c, data) && !c->ignore_minimize) {
|
||||||
if (!c->ignore_minimize)
|
set_minimized(c);
|
||||||
set_minimized(c);
|
|
||||||
client_set_minimized(c, true);
|
client_set_minimized(c, true);
|
||||||
} else {
|
} else {
|
||||||
client_set_minimized(c, false);
|
client_set_minimized(c, false);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue