aboutsummaryrefslogtreecommitdiff
path: root/view.c
diff options
context:
space:
mode:
authorarg@mig29 <unknown>2006-10-27 12:05:47 +0200
committerarg@mig29 <unknown>2006-10-27 12:05:47 +0200
commit2b13e7466f4912e3778bf59e6aec3065443f08fe (patch)
tree2595de166d7113d6b0cf6c96139f7ae25fb38b39 /view.c
parent0982e47408115de4a604d9365b1014ae6205b3a9 (diff)
downloaddwm-2b13e7466f4912e3778bf59e6aec3065443f08fe.tar.gz
dwm-2b13e7466f4912e3778bf59e6aec3065443f08fe.tar.bz2
dwm-2b13e7466f4912e3778bf59e6aec3065443f08fe.zip
applied sanders max size fix
Diffstat (limited to 'view.c')
-rw-r--r--view.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/view.c b/view.c
index daf0711..facbb4c 100644
--- a/view.c
+++ b/view.c
@@ -44,6 +44,10 @@ reorder(void) {
static void
togglemax(Client *c) {
XEvent ev;
+
+ if (x->maxw && x->minw && x->maxh && x->minh &&
+ x->maxw == x->minw && x->maxh == x->minh)
+ return;
if((c->ismax = !c->ismax)) {
c->rx = c->x; c->x = sx;