fixed issue pointed out by Jukka
05c10c57
4 file(s) · +5 −10
| 206 | 206 | c->w = c->tw = wa->width; |
|
| 207 | 207 | c->h = wa->height; |
|
| 208 | 208 | c->th = bh; |
|
| 209 | - | c->rx = sx; |
|
| 210 | - | c->ry = bh; |
|
| 211 | - | c->rw = sw; |
|
| 212 | - | c->rh = sh - bh; |
|
| 213 | 209 | ||
| 214 | 210 | c->border = 0; |
|
| 215 | 211 | updatesize(c); |
| 60 | 60 | Focus previous window. |
|
| 61 | 61 | .TP |
|
| 62 | 62 | .B Mod1-Return |
|
| 63 | - | Zooms/cycles current window to/from master column (tiling mode), toggles maximization (floating mode). |
|
| 63 | + | Zooms/cycles current window to/from master column (tiling mode), maximizes current window (floating mode). |
|
| 64 | 64 | .TP |
|
| 65 | 65 | .B Mod1-g |
|
| 66 | 66 | Grow current column (tiling mode only). |
| 78 | 78 | int proto; |
|
| 79 | 79 | int x, y, w, h; |
|
| 80 | 80 | int tx, ty, tw, th; /* title window geometry */ |
|
| 81 | - | int rx, ry, rw, rh; /* revert geometry */ |
|
| 82 | 81 | int basew, baseh, incw, inch, maxw, maxh, minw, minh; |
|
| 83 | 82 | int grav; |
|
| 84 | 83 | long flags; |
| 278 | 278 | return; |
|
| 279 | 279 | ||
| 280 | 280 | if(sel->isfloat || (arrange == dofloat)) { |
|
| 281 | - | tmp = sel->x; sel->x = sel->rx; sel->rx = tmp; |
|
| 282 | - | tmp = sel->y; sel->y = sel->ry; sel->ry = tmp; |
|
| 283 | - | tmp = sel->w; sel->w = sel->rw; sel->rw = tmp; |
|
| 284 | - | tmp = sel->h; sel->h = sel->rh; sel->rh = tmp; |
|
| 281 | + | sel->x = sx; |
|
| 282 | + | sel->y = bh; |
|
| 283 | + | sel->w = sw; |
|
| 284 | + | sel->h = sh - bh; |
|
| 285 | 285 | resize(sel, True, TopLeft); |
|
| 286 | 286 | while(XCheckMaskEvent(dpy, EnterWindowMask, &ev)); |
|
| 287 | 287 | return; |