apply small fix to prevent apps like mplayer wandering when toggling fullscreen
This commit is contained in:
parent
724f35a664
commit
040d0f48a0
1 changed files with 2 additions and 2 deletions
4
client.c
4
client.c
|
@ -202,8 +202,8 @@ manage(Window w, XWindowAttributes *wa) {
|
||||||
c = emallocz(sizeof(Client));
|
c = emallocz(sizeof(Client));
|
||||||
c->tags = emallocz(ntags * sizeof(Bool));
|
c->tags = emallocz(ntags * sizeof(Bool));
|
||||||
c->win = w;
|
c->win = w;
|
||||||
c->x = c->tx = wa->x;
|
c->x = c->tx = wa->x; c->x -= BORDERPX;
|
||||||
c->y = c->ty = wa->y;
|
c->y = c->ty = wa->y; c->y -= BORDERPX;
|
||||||
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;
|
||||||
|
|
Loading…
Reference in a new issue