Browse Source

added some flicker prevention

config
Anselm R.Garbe 18 years ago
parent
commit
666fae97e6
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      client.c

+ 3
- 1
client.c View File

@ -262,11 +262,13 @@ manage(Window w, XWindowAttributes *wa)
c->maxw == c->minw && c->maxh == c->minh); c->maxw == c->minw && c->maxh == c->minh);
settitle(c); settitle(c);
if(isvisible(c))
sel = c;
arrange(NULL);
XMapWindow(dpy, c->win); XMapWindow(dpy, c->win);
XMapWindow(dpy, c->title); XMapWindow(dpy, c->title);
if(isvisible(c)) if(isvisible(c))
focus(c); focus(c);
arrange(NULL);
} }
void void


Loading…
Cancel
Save