summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-08-31 18:58:10 +0000
committerDana Jansens <danakj@orodu.net>2003-08-31 18:58:10 +0000
commit49d58ec9ba5380f97a4524edf5d5925ea5aa6180 (patch)
tree9c79e32e71be42e7097392f5eada4b9d7387ed75 /openbox
parent4ab212d0cd85ad7447b7c6bbee4c383f7e575d21 (diff)
only hide menus if theyre supposed to when executing
Diffstat (limited to 'openbox')
-rw-r--r--openbox/menuframe.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbox/menuframe.c b/openbox/menuframe.c
index 7052296e..640e860e 100644
--- a/openbox/menuframe.c
+++ b/openbox/menuframe.c
@@ -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);