From: arg@mig29 Date: Thu, 26 Oct 2006 13:05:45 +0000 (+0200) Subject: apply small fix to prevent apps like mplayer wandering when toggling fullscreen X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;ds=inline;h=040d0f48a0b41d67004b4a0698fe21a86ebaa490;p=dwm.git apply small fix to prevent apps like mplayer wandering when toggling fullscreen --- diff --git a/client.c b/client.c index c65a42b..49d40d5 100644 --- a/client.c +++ b/client.c @@ -202,8 +202,8 @@ manage(Window w, XWindowAttributes *wa) { c = emallocz(sizeof(Client)); c->tags = emallocz(ntags * sizeof(Bool)); c->win = w; - c->x = c->tx = wa->x; - c->y = c->ty = wa->y; + c->x = c->tx = wa->x; c->x -= BORDERPX; + c->y = c->ty = wa->y; c->y -= BORDERPX; c->w = c->tw = wa->width; c->h = wa->height; c->th = bh;