Browse Source

some other change

config
arg@mig29 18 years ago
parent
commit
2b7c275ce8
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      client.c

+ 3
- 3
client.c View File

@ -202,12 +202,12 @@ 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 -= BORDERPX;
c->y = c->ty = wa->y; c->y -= BORDERPX;
c->border = wa->border_width;
c->x = c->tx = wa->x;
c->y = c->ty = wa->y;
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;
c->border = 0;
updatesize(c); updatesize(c);
if(c->x + c->w + 2 * BORDERPX > sw) if(c->x + c->w + 2 * BORDERPX > sw)
c->x = sw - c->w - 2 * BORDERPX; c->x = sw - c->w - 2 * BORDERPX;


Loading…
Cancel
Save