apply small fix to prevent apps like mplayer wandering when toggling fullscreen
040d0f48
1 file(s) · +2 −2
| 202 | 202 | c = emallocz(sizeof(Client)); |
|
| 203 | 203 | c->tags = emallocz(ntags * sizeof(Bool)); |
|
| 204 | 204 | c->win = w; |
|
| 205 | - | c->x = c->tx = wa->x; |
|
| 206 | - | c->y = c->ty = wa->y; |
|
| 205 | + | c->x = c->tx = wa->x; c->x -= BORDERPX; |
|
| 206 | + | c->y = c->ty = wa->y; c->y -= BORDERPX; |
|
| 207 | 207 | c->w = c->tw = wa->width; |
|
| 208 | 208 | c->h = wa->height; |
|
| 209 | 209 | c->th = bh; |