dwm-meillo
changeset 479:de69a7b0c8fa
fixed issue pointed out by Jukka
author | arg@mmvi |
---|---|
date | Fri, 22 Sep 2006 11:49:24 +0200 |
parents | 635b58a87d20 |
children | 680aca428830 |
files | client.c dwm.1 dwm.h view.c |
diffstat | 4 files changed, 5 insertions(+), 10 deletions(-) [+] |
line diff
1.1 --- a/client.c Fri Sep 22 11:24:01 2006 +0200 1.2 +++ b/client.c Fri Sep 22 11:49:24 2006 +0200 1.3 @@ -206,10 +206,6 @@ 1.4 c->w = c->tw = wa->width; 1.5 c->h = wa->height; 1.6 c->th = bh; 1.7 - c->rx = sx; 1.8 - c->ry = bh; 1.9 - c->rw = sw; 1.10 - c->rh = sh - bh; 1.11 1.12 c->border = 0; 1.13 updatesize(c);
2.1 --- a/dwm.1 Fri Sep 22 11:24:01 2006 +0200 2.2 +++ b/dwm.1 Fri Sep 22 11:49:24 2006 +0200 2.3 @@ -60,7 +60,7 @@ 2.4 Focus previous window. 2.5 .TP 2.6 .B Mod1-Return 2.7 -Zooms/cycles current window to/from master column (tiling mode), toggles maximization (floating mode). 2.8 +Zooms/cycles current window to/from master column (tiling mode), maximizes current window (floating mode). 2.9 .TP 2.10 .B Mod1-g 2.11 Grow current column (tiling mode only).
3.1 --- a/dwm.h Fri Sep 22 11:24:01 2006 +0200 3.2 +++ b/dwm.h Fri Sep 22 11:49:24 2006 +0200 3.3 @@ -78,7 +78,6 @@ 3.4 int proto; 3.5 int x, y, w, h; 3.6 int tx, ty, tw, th; /* title window geometry */ 3.7 - int rx, ry, rw, rh; /* revert geometry */ 3.8 int basew, baseh, incw, inch, maxw, maxh, minw, minh; 3.9 int grav; 3.10 long flags;
4.1 --- a/view.c Fri Sep 22 11:24:01 2006 +0200 4.2 +++ b/view.c Fri Sep 22 11:49:24 2006 +0200 4.3 @@ -278,10 +278,10 @@ 4.4 return; 4.5 4.6 if(sel->isfloat || (arrange == dofloat)) { 4.7 - tmp = sel->x; sel->x = sel->rx; sel->rx = tmp; 4.8 - tmp = sel->y; sel->y = sel->ry; sel->ry = tmp; 4.9 - tmp = sel->w; sel->w = sel->rw; sel->rw = tmp; 4.10 - tmp = sel->h; sel->h = sel->rh; sel->rh = tmp; 4.11 + sel->x = sx; 4.12 + sel->y = bh; 4.13 + sel->w = sw; 4.14 + sel->h = sh - bh; 4.15 resize(sel, True, TopLeft); 4.16 while(XCheckMaskEvent(dpy, EnterWindowMask, &ev)); 4.17 return;