view.c
changeset 549 fd1061442711
parent 548 3d23384eb5ab
child 558 e249e2952a32
equal deleted inserted replaced
548:3d23384eb5ab 549:fd1061442711
    43 
    43 
    44 static void
    44 static void
    45 togglemax(Client *c) {
    45 togglemax(Client *c) {
    46 	XEvent ev;
    46 	XEvent ev;
    47 		
    47 		
    48 	if (x->maxw && x->minw && x->maxh && x->minh &&
    48 	if(c->isfixed)
    49 			x->maxw == x->minw && x->maxh == x->minh)
       
    50 		return;
    49 		return;
    51 
    50 
    52 	if((c->ismax = !c->ismax)) {
    51 	if((c->ismax = !c->ismax)) {
    53 		c->rx = c->x; c->x = sx;
    52 		c->rx = c->x; c->x = sx;
    54 		c->ry = c->y; c->y = bh;
    53 		c->ry = c->y; c->y = bh;