raise barwin in restack, that's the most elegant solution I think

keyboard
Anselm R. Garbe 18 years ago
parent 1e826ddd3e
commit 598e22907e
  1. 1
      layout.c

@ -189,6 +189,7 @@ restack(void) {
XLowerWindow(dpy, c->win); XLowerWindow(dpy, c->win);
} }
} }
XRaiseWindow(dpy, barwin);
XSync(dpy, False); XSync(dpy, False);
while(XCheckMaskEvent(dpy, EnterWindowMask, &ev)); while(XCheckMaskEvent(dpy, EnterWindowMask, &ev));
} }

Loading…
Cancel
Save