projects
/
suckless
/
dwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
823fb11
)
added some flicker prevention
author
Anselm R.Garbe
<arg@10ksloc.org>
Mon, 14 Aug 2006 14:37:55 +0000
(16:37 +0200)
committer
Anselm R.Garbe
<arg@10ksloc.org>
Mon, 14 Aug 2006 14:37:55 +0000
(16:37 +0200)
client.c
patch
|
blob
|
history
diff --git
a/client.c
b/client.c
index 8d5ea3064d20fd9600d5c5357c865391d6ed040f..6a231b90e5b4bfb49d5abad1ae4119103568f485 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