all repos — openbox @ 540f547babe3d3aa27aac9b28dc03a8acb325edf

openbox fork - make it a bit more like ryudo

only look for FocusOut events on the same window
Dana Jansens danakj@orodu.net
commit

540f547babe3d3aa27aac9b28dc03a8acb325edf

parent

bcbe5c8f823cc12bd64feb2cf87d981e4f8c99fa

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M openbox/event.copenbox/event.c

@@ -291,7 +291,8 @@ XEvent fe;

gboolean fallback = TRUE; while (TRUE) { - if (!XCheckTypedEvent(ob_display, FocusOut, &fe)) + if (!XCheckTypedWindowEvent(ob_display, FocusOut, + e->xfocus.window,&fe)) if (!XCheckTypedEvent(ob_display, FocusIn, &fe)) break; if (fe.type == FocusOut) {