Explorar o código

barwindow raising

Anselm R. Garbe %!s(int64=18) %!d(string=hai) anos
pai
achega
8f5f7a5b5a
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      main.c

+ 3 - 0
main.c

@@ -245,6 +245,9 @@ updatebarpos(void) {
 		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