On Mon, 11 May 2015 08:43:30 +0200 August Karlstrom
<fusionf...@gmail.com> wrote:
Patrick Keshishian found a fix described at
https://bugs.freedesktop.org/show_bug.cgi?id=83900
Actually a proper fix was found by Brian Bidulock who maintains a fork
of Blackbox at https://github.com/bbidulock/blackboxwm.
-- August
--- src/blackbox.cc.orig 2015-05-14 06:53:02.221198559 +0200
+++ src/blackbox.cc 2015-05-14 07:08:26.020864286 +0200
@@ -281,6 +281,7 @@
bool lost_focus = true; // did the window really lose focus?
bool no_focus = true; // did another window get focus?
+ XSync(XDisplay(), False);
XEvent event;
if (XCheckIfEvent(XDisplay(), &event, scanForFocusIn, NULL)) {
process_event(&event);