all repos — openbox @ 493e7d4a6ec5a3fc5e6677d21b9940dc2e17b4ac

openbox fork - make it a bit more like ryudo

ignore ancestor FocusIn events. i get them sometimes when hitting alt-tab and that totally fucks it up cuz it cancels teh alt-tab process.
Dana Jansens danakj@orodu.net
commit

493e7d4a6ec5a3fc5e6677d21b9940dc2e17b4ac

parent

ebb97c189adde498cfd64d4183289c0e2645f8d8

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

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

@@ -37,6 +37,7 @@ static void event_handle_client(Client *c, XEvent *e);

static void event_handle_menu(Menu *menu, Client *c, XEvent *e); #define INVALID_FOCUSIN(e) ((e)->xfocus.detail == NotifyInferior || \ + (e)->xfocus.detail == NotifyAncestor || \ (e)->xfocus.detail > NotifyNonlinearVirtual) #define INVALID_FOCUSOUT(e) ((e)->xfocus.mode == NotifyGrab || \ (e)->xfocus.detail == NotifyInferior || \