summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--client.c4
-rw-r--r--dwm.12
-rw-r--r--dwm.h1
-rw-r--r--view.c8
4 files changed, 5 insertions, 10 deletions
diff --git a/client.c b/client.c
index 2f1e2b3..d5bc30e 100644
--- a/client.c
+++ b/client.c
@@ -206,10 +206,6 @@ manage(Window w, XWindowAttributes *wa) {
206 c->w = c->tw = wa->width; 206 c->w = c->tw = wa->width;
207 c->h = wa->height; 207 c->h = wa->height;
208 c->th = bh; 208 c->th = bh;
209 c->rx = sx;
210 c->ry = bh;
211 c->rw = sw;
212 c->rh = sh - bh;
213 209
214 c->border = 0; 210 c->border = 0;
215 updatesize(c); 211 updatesize(c);
diff --git a/dwm.1 b/dwm.1
index 46d91c6..771036c 100644
--- a/dwm.1
+++ b/dwm.1
@@ -60,7 +60,7 @@ Focus next window.
60Focus previous window. 60Focus previous window.
61.TP 61.TP
62.B Mod1-Return 62.B Mod1-Return
63Zooms/cycles current window to/from master column (tiling mode), toggles maximization (floating mode). 63Zooms/cycles current window to/from master column (tiling mode), maximizes current window (floating mode).
64.TP 64.TP
65.B Mod1-g 65.B Mod1-g
66Grow current column (tiling mode only). 66Grow current column (tiling mode only).
diff --git a/dwm.h b/dwm.h
index 60f9201..2298369 100644
--- a/dwm.h
+++ b/dwm.h
@@ -78,7 +78,6 @@ struct Client {
78 int proto; 78 int proto;
79 int x, y, w, h; 79 int x, y, w, h;
80 int tx, ty, tw, th; /* title window geometry */ 80 int tx, ty, tw, th; /* title window geometry */
81 int rx, ry, rw, rh; /* revert geometry */
82 int basew, baseh, incw, inch, maxw, maxh, minw, minh; 81 int basew, baseh, incw, inch, maxw, maxh, minw, minh;
83 int grav; 82 int grav;
84 long flags; 83 long flags;
diff --git a/view.c b/view.c
index fce7309..bb32235 100644
--- a/view.c
+++ b/view.c
@@ -278,10 +278,10 @@ zoom(Arg *arg) {
278 return; 278 return;
279 279
280 if(sel->isfloat || (arrange == dofloat)) { 280 if(sel->isfloat || (arrange == dofloat)) {
281 tmp = sel->x; sel->x = sel->rx; sel->rx = tmp; 281 sel->x = sx;
282 tmp = sel->y; sel->y = sel->ry; sel->ry = tmp; 282 sel->y = bh;
283 tmp = sel->w; sel->w = sel->rw; sel->rw = tmp; 283 sel->w = sw;
284 tmp = sel->h; sel->h = sel->rh; sel->rh = tmp; 284 sel->h = sh - bh;
285 resize(sel, True, TopLeft); 285 resize(sel, True, TopLeft);
286 while(XCheckMaskEvent(dpy, EnterWindowMask, &ev)); 286 while(XCheckMaskEvent(dpy, EnterWindowMask, &ev));
287 return; 287 return;