fixed issue pointed out by Jukka

keyboard
arg@mmvi 18 years ago
parent b2cb925d99
commit 05c10c5776
  1. 4
      client.c
  2. 2
      dwm.1
  3. 1
      dwm.h
  4. 8
      view.c

@ -206,10 +206,6 @@ manage(Window w, XWindowAttributes *wa) {
c->w = c->tw = wa->width; c->w = c->tw = wa->width;
c->h = wa->height; c->h = wa->height;
c->th = bh; c->th = bh;
c->rx = sx;
c->ry = bh;
c->rw = sw;
c->rh = sh - bh;
c->border = 0; c->border = 0;
updatesize(c); updatesize(c);

@ -60,7 +60,7 @@ Focus next window.
Focus previous window. Focus previous window.
.TP .TP
.B Mod1-Return .B Mod1-Return
Zooms/cycles current window to/from master column (tiling mode), toggles maximization (floating mode). Zooms/cycles current window to/from master column (tiling mode), maximizes current window (floating mode).
.TP .TP
.B Mod1-g .B Mod1-g
Grow current column (tiling mode only). Grow current column (tiling mode only).

@ -78,7 +78,6 @@ struct Client {
int proto; int proto;
int x, y, w, h; int x, y, w, h;
int tx, ty, tw, th; /* title window geometry */ int tx, ty, tw, th; /* title window geometry */
int rx, ry, rw, rh; /* revert geometry */
int basew, baseh, incw, inch, maxw, maxh, minw, minh; int basew, baseh, incw, inch, maxw, maxh, minw, minh;
int grav; int grav;
long flags; long flags;

@ -278,10 +278,10 @@ zoom(Arg *arg) {
return; return;
if(sel->isfloat || (arrange == dofloat)) { if(sel->isfloat || (arrange == dofloat)) {
tmp = sel->x; sel->x = sel->rx; sel->rx = tmp; sel->x = sx;
tmp = sel->y; sel->y = sel->ry; sel->ry = tmp; sel->y = bh;
tmp = sel->w; sel->w = sel->rw; sel->rw = tmp; sel->w = sw;
tmp = sel->h; sel->h = sel->rh; sel->rh = tmp; sel->h = sh - bh;
resize(sel, True, TopLeft); resize(sel, True, TopLeft);
while(XCheckMaskEvent(dpy, EnterWindowMask, &ev)); while(XCheckMaskEvent(dpy, EnterWindowMask, &ev));
return; return;

Loading…
Cancel
Save