only hide menus if theyre supposed to when executing
authorDana Jansens <danakj@orodu.net>
Sun, 31 Aug 2003 18:58:10 +0000 (18:58 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 31 Aug 2003 18:58:10 +0000 (18:58 +0000)
openbox/menuframe.c

index 7052296..640e860 100644 (file)
@@ -667,7 +667,8 @@ void menu_entry_frame_execute(ObMenuEntryFrame *self, gboolean hide)
         ObClient *client = self->frame->client;
 
         /* release grabs before executing the shit */
-        menu_frame_hide_all();
+        if (hide)
+            menu_frame_hide_all();
 
         if (func)
             func(entry, data);