X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/2b13e7466f4912e3778bf59e6aec3065443f08fe..8e6eb52196c581351925811c15afa0d4deb5130a:/view.c diff --git a/view.c b/view.c index facbb4c..85bfabf 100644 --- a/view.c +++ b/view.c @@ -45,8 +45,7 @@ static void togglemax(Client *c) { XEvent ev; - if (x->maxw && x->minw && x->maxh && x->minh && - x->maxw == x->minw && x->maxh == x->minh) + if(c->isfixed) return; if((c->ismax = !c->ismax)) {