]> Dogcows Code - chaz/openbox/commitdiff
dont send menu events to plugins
authorDana Jansens <danakj@orodu.net>
Wed, 16 Apr 2003 19:41:22 +0000 (19:41 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 16 Apr 2003 19:41:22 +0000 (19:41 +0000)
openbox/event.c

index 7d61c9eb4940b69042a4a098efcf27e2f2df2091..796c243d00e004a786c00e5e70e89110f734b1c5 100644 (file)
@@ -327,9 +327,10 @@ static void event_process(XEvent *e)
         return;
 
     /* deal with it in the kernel */
-    if (menu)
+    if (menu) {
         event_handle_menu(menu, e);
-    else if (client)
+        return;
+    } else if (client)
        event_handle_client(client, e);
     else if (window == ob_root)
        event_handle_root(e);
This page took 0.023765 seconds and 4 git commands to generate.