Xinqi Bao's Git
projects
/
dwm.git
/ diff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
| inline |
side by side
(parent:
823fb11
)
added some flicker prevention
author
Anselm R.Garbe <
[email protected]
>
Mon, 14 Aug 2006 14:37:55 +0000
(16:37 +0200)
committer
Anselm R.Garbe <
[email protected]
>
Mon, 14 Aug 2006 14:37:55 +0000
(16:37 +0200)
client.c
diff
|
blob
|
history
diff --git
a/client.c
b/client.c
index
8d5ea30
..
6a231b9
100644
(file)
--- a/
client.c
+++ b/
client.c
@@
-262,11
+262,13
@@
manage(Window w, XWindowAttributes *wa)
c->maxw == c->minw && c->maxh == c->minh);
settitle(c);
+ if(isvisible(c))
+ sel = c;
+ arrange(NULL);
XMapWindow(dpy, c->win);
XMapWindow(dpy, c->title);
if(isvisible(c))
focus(c);
- arrange(NULL);
}
void