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:
5ad2828
)
barwindow raising
author
Anselm R. Garbe
<arg@suckless.org>
Tue, 15 May 2007 11:56:06 +0000
(13:56 +0200)
committer
Anselm R. Garbe
<arg@suckless.org>
Tue, 15 May 2007 11:56:06 +0000
(13:56 +0200)
main.c
patch
|
blob
|
history
diff --git
a/main.c
b/main.c
index 614faa08cc129e82151c2a3a334f9e55d65dfae3..021874f31f127e96098db20344f0a9d0a1302de4 100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-245,6
+245,9
@@
updatebarpos(void) {
XMoveWindow(dpy, barwin, sx, sy - bh);
break;
}
+ XRaiseWindow(dpy, barwin);
+ XSync(dpy, False);
+ while(XCheckMaskEvent(dpy, EnterWindowMask, &ev));
}
/* There's no way to check accesses to destroyed windows, thus those cases are