diff options
| author | Anselm R. Garbe <arg@suckless.org> | 2007-05-15 13:56:06 +0200 |
|---|---|---|
| committer | Anselm R. Garbe <arg@suckless.org> | 2007-05-15 13:56:06 +0200 |
| commit | 8f5f7a5b5a40ee535305927dd12ba83891d1b0b1 (patch) | |
| tree | 0590feab099fd7b854f77512d26132661901c738 /main.c | |
| parent | using BarTop as fallback if BARPOS is set to BarOff as default for toggling (diff) | |
| download | dwm-8f5f7a5b5a40ee535305927dd12ba83891d1b0b1.tar.gz dwm-8f5f7a5b5a40ee535305927dd12ba83891d1b0b1.zip | |
barwindow raising
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -245,6 +245,9 @@ updatebarpos(void) { | |||
| 245 | XMoveWindow(dpy, barwin, sx, sy - bh); | 245 | XMoveWindow(dpy, barwin, sx, sy - bh); |
| 246 | break; | 246 | break; |
| 247 | } | 247 | } |
| 248 | XRaiseWindow(dpy, barwin); | ||
| 249 | XSync(dpy, False); | ||
| 250 | while(XCheckMaskEvent(dpy, EnterWindowMask, &ev)); | ||
| 248 | } | 251 | } |
| 249 | 252 | ||
| 250 | /* There's no way to check accesses to destroyed windows, thus those cases are | 253 | /* There's no way to check accesses to destroyed windows, thus those cases are |
