comparison view.c @ 549:fd1061442711

applied sanders try2 patch
author arg@mig29
date Fri, 27 Oct 2006 13:28:26 +0200
parents 3d23384eb5ab
children e249e2952a32
comparison
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;