X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/2b13e7466f4912e3778bf59e6aec3065443f08fe..91e569ca37ac441930f041057d2934f02bf263a2:/view.c?ds=sidebyside 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)) {