From: Dana Jansens Date: Wed, 16 Apr 2003 19:41:22 +0000 (+0000) Subject: dont send menu events to plugins X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=cb71c993e512d0e51b4798ff2e2fdf6e69be181c;p=chaz%2Fopenbox dont send menu events to plugins --- diff --git a/openbox/event.c b/openbox/event.c index 7d61c9eb..796c243d 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -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);