raise barwin in restack, that's the most elegant solution I think
authorAnselm R. Garbe <arg@suckless.org>
Wed, 16 May 2007 21:59:53 +0200
changeset 888 8b7337534209
parent 887 44755dcf1ad4
child 889 00f4180df72b
raise barwin in restack, that's the most elegant solution I think
layout.c
--- a/layout.c	Tue May 15 14:06:18 2007 +0200
+++ b/layout.c	Wed May 16 21:59:53 2007 +0200
@@ -189,6 +189,7 @@
 			XLowerWindow(dpy, c->win);
 		}
 	}
+	XRaiseWindow(dpy, barwin);
 	XSync(dpy, False);
 	while(XCheckMaskEvent(dpy, EnterWindowMask, &ev));
 }