main.c
changeset 884 e08deeb1fb07
parent 880 f330be522eca
child 885 f76d2e9ca006
--- a/main.c	Tue May 15 13:49:43 2007 +0200
+++ b/main.c	Tue May 15 13:56:06 2007 +0200
@@ -245,6 +245,9 @@
 		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