]> Dogcows Code - chaz/openbox/commitdiff
ignore ancestor FocusIn events. i get them sometimes when hitting alt-tab and that...
authorDana Jansens <danakj@orodu.net>
Fri, 23 May 2003 01:27:46 +0000 (01:27 +0000)
committerDana Jansens <danakj@orodu.net>
Fri, 23 May 2003 01:27:46 +0000 (01:27 +0000)
openbox/event.c

index 366e5eb7d343c1626a6463e303bbce1c74a9ba0b..54db6cc83b2fc0834440b090ce08b92ac46d66b3 100644 (file)
@@ -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 || \
This page took 0.026904 seconds and 4 git commands to generate.