summaryrefslogtreecommitdiff
path: root/view.c
diff options
context:
space:
mode:
authorarg@mig29 <unknown>2006-10-27 13:28:26 +0200
committerarg@mig29 <unknown>2006-10-27 13:28:26 +0200
commit0f395c1b115280a0976a85940c714152d8a58dac (patch)
tree5c5bbe75eea20f4fdc4e1e69d7a5a17d53dca467 /view.c
parent2b13e7466f4912e3778bf59e6aec3065443f08fe (diff)
applied sanders try2 patch
Diffstat (limited to 'view.c')
-rw-r--r--view.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/view.c b/view.c
index facbb4cb..85bfabf3 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)) {