X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=view.c;h=85bfabf3c359d9b79cafa555684cbccf6cb56bdc;hb=0f395c1b115280a0976a85940c714152d8a58dac;hp=facbb4cbbf7094fae81274ec3aa6f00383a7df59;hpb=2b13e7466f4912e3778bf59e6aec3065443f08fe;p=dwm.git 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)) {