diff options
| author | arg@mig29 <unknown> | 2006-10-26 15:26:17 +0200 |
|---|---|---|
| committer | arg@mig29 <unknown> | 2006-10-26 15:26:17 +0200 |
| commit | 2b7c275ce8c7f8fa36d0877cf3cdaf32b08f2c0d (patch) | |
| tree | d5743e2b9b8b35021b561a2acd9fdb6da369f3cd /client.c | |
| parent | apply small fix to prevent apps like mplayer wandering when toggling fullscreen (diff) | |
| download | dwm-2b7c275ce8c7f8fa36d0877cf3cdaf32b08f2c0d.tar.gz dwm-2b7c275ce8c7f8fa36d0877cf3cdaf32b08f2c0d.zip | |
some other change
Diffstat (limited to 'client.c')
| -rw-r--r-- | client.c | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -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; |
