raise barwin in restack, that's the most elegant solution I think
authorAnselm R. Garbe <arg@suckless.org>
Wed, 16 May 2007 19:59:53 +0000 (21:59 +0200)
committerAnselm R. Garbe <arg@suckless.org>
Wed, 16 May 2007 19:59:53 +0000 (21:59 +0200)
layout.c

index bc5ca1c0df3a5af198e98e79f3a3162805014e2f..0f17b696178ff21d209ade5bd7580478b9da9a5b 100644 (file)
--- a/layout.c
+++ b/layout.c
@@ -189,6 +189,7 @@ restack(void) {
                        XLowerWindow(dpy, c->win);
                }
        }
+       XRaiseWindow(dpy, barwin);
        XSync(dpy, False);
        while(XCheckMaskEvent(dpy, EnterWindowMask, &ev));
 }