diff options
author | arg@mmvi <unknown> | 2006-09-22 13:58:21 +0200 |
---|---|---|
committer | arg@mmvi <unknown> | 2006-09-22 13:58:21 +0200 |
commit | 67986e81eed4a76cb4c50aed62ddb1fd14c4659d (patch) | |
tree | 61708588dfb72e297596da787acf3fb979bad8cd | |
parent | 346bdea946887d83f857a8944a0189bca51a3e47 (diff) | |
download | dwm-67986e81eed4a76cb4c50aed62ddb1fd14c4659d.tar.gz dwm-67986e81eed4a76cb4c50aed62ddb1fd14c4659d.tar.bz2 dwm-67986e81eed4a76cb4c50aed62ddb1fd14c4659d.zip |
hotfix
-rw-r--r-- | view.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -45,17 +45,18 @@ reorder() { static void togglemax(Client *c) { + XEvent ev; if((c->ismax = !c->ismax)) { c->rx = c->x; c->x = sx; c->ry = c->y; c->y = bh; c->rw = c->w; c->w = sw; - c->rh = c->h; c->h = sh; + c->rh = c->h; c->h = sh - bh; } else { c->x = c->rx; c->y = c->ry; - c->w = c->w; - c->h = c->h; + c->w = c->rw; + c->h = c->rh; } resize(c, True, TopLeft); while(XCheckMaskEvent(dpy, EnterWindowMask, &ev)); @@ -231,7 +232,7 @@ void restack() { Client *c; XEvent ev; - + if(!sel) { drawstatus(); return; @@ -296,7 +297,6 @@ void zoom(Arg *arg) { unsigned int n; Client *c; - XEvent ev; if(!sel) return; |