summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarg@mig29 <unknown>2006-10-26 15:26:17 +0200
committerarg@mig29 <unknown>2006-10-26 15:26:17 +0200
commit2b7c275ce8c7f8fa36d0877cf3cdaf32b08f2c0d (patch)
treed5743e2b9b8b35021b561a2acd9fdb6da369f3cd
parentapply small fix to prevent apps like mplayer wandering when toggling fullscreen (diff)
downloaddwm-2b7c275ce8c7f8fa36d0877cf3cdaf32b08f2c0d.tar.gz
dwm-2b7c275ce8c7f8fa36d0877cf3cdaf32b08f2c0d.zip
some other change
Diffstat (limited to '')
-rw-r--r--client.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/client.c b/client.c
index 49d40d5..ed8fea9 100644
--- a/client.c
+++ b/client.c
@@ -202,12 +202,12 @@ 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; c->x -= BORDERPX; 205 c->border = wa->border_width;
206 c->y = c->ty = wa->y; c->y -= BORDERPX; 206 c->x = c->tx = wa->x;
207 c->y = c->ty = wa->y;
207 c->w = c->tw = wa->width; 208 c->w = c->tw = wa->width;
208 c->h = wa->height; 209 c->h = wa->height;
209 c->th = bh; 210 c->th = bh;
210 c->border = 0;
211 updatesize(c); 211 updatesize(c);
212 if(c->x + c->w + 2 * BORDERPX > sw) 212 if(c->x + c->w + 2 * BORDERPX > sw)
213 c->x = sw - c->w - 2 * BORDERPX; 213 c->x = sw - c->w - 2 * BORDERPX;