diff options
| author | arg@mig29 <unknown> | 2006-10-26 15:05:45 +0200 |
|---|---|---|
| committer | arg@mig29 <unknown> | 2006-10-26 15:05:45 +0200 |
| commit | 040d0f48a0b41d67004b4a0698fe21a86ebaa490 (patch) | |
| tree | 49c64b85c784a78d295e6273a6083084b870273d | |
| parent | forgot to use -tr, which actually prevents the ugly flicker (using xsetroot -... (diff) | |
| download | dwm-040d0f48a0b41d67004b4a0698fe21a86ebaa490.tar.gz dwm-040d0f48a0b41d67004b4a0698fe21a86ebaa490.zip | |
apply small fix to prevent apps like mplayer wandering when toggling fullscreen
| -rw-r--r-- | client.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -202,8 +202,8 @@ manage(Window w, XWindowAttributes *wa) { | |||
| 202 | c = emallocz(sizeof(Client)); | 202 | c = emallocz(sizeof(Client)); |
| 203 | c->tags = emallocz(ntags * sizeof(Bool)); | 203 | c->tags = emallocz(ntags * sizeof(Bool)); |
| 204 | c->win = w; | 204 | c->win = w; |
| 205 | c->x = c->tx = wa->x; | 205 | c->x = c->tx = wa->x; c->x -= BORDERPX; |
| 206 | c->y = c->ty = wa->y; | 206 | c->y = c->ty = wa->y; c->y -= BORDERPX; |
| 207 | c->w = c->tw = wa->width; | 207 | c->w = c->tw = wa->width; |
| 208 | c->h = wa->height; | 208 | c->h = wa->height; |
| 209 | c->th = bh; | 209 | c->th = bh; |
