changeset 543:722cffee3770

apply small fix to prevent apps like mplayer wandering when toggling fullscreen
author arg@mig29
date Thu, 26 Oct 2006 15:05:45 +0200 (2006-10-26)
parents 21a924818b61
children 88ebcfe64c2d
files client.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/client.c	Thu Oct 26 12:22:26 2006 +0200
+++ b/client.c	Thu Oct 26 15:05:45 2006 +0200
@@ -202,8 +202,8 @@
 	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;