only hide menus if theyre supposed to when executing

This commit is contained in:
Dana Jansens 2003-08-31 18:58:10 +00:00
parent 4ab212d0cd
commit 49d58ec9ba

View 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);