about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-05-16 21:59:53 +0200
committerAnselm R. Garbe <arg@suckless.org>2007-05-16 21:59:53 +0200
commit598e22907e6a3bcfbc35f913dae24d031d6f9170 (patch)
tree704e6405915c28487800246b81b22a1c664a93a4
parent1e826ddd3ee0159bf2bd296a24e557b0d971ed91 (diff)
downloaddwm-598e22907e6a3bcfbc35f913dae24d031d6f9170.tar.gz
raise barwin in restack, that's the most elegant solution I think
-rw-r--r--layout.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/layout.c b/layout.c
index bc5ca1c..0f17b69 100644
--- 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));
 }