diff options
Diffstat (limited to 'openbox/menu.c')
| -rw-r--r-- | openbox/menu.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/openbox/menu.c b/openbox/menu.c index 50387665..c1d1138b 100644 --- a/openbox/menu.c +++ b/openbox/menu.c @@ -24,6 +24,7 @@ #include "config.h" #include "screen.h" #include "menuframe.h" +#include "keyboard.h" #include "geom.h" #include "misc.h" #include "client_menu.h" @@ -286,7 +287,8 @@ void menu_show(gchar *name, gint x, gint y, ObClient *client) ObMenuFrame *frame; guint i; - if (!(self = menu_from_name(name))) return; + if (!(self = menu_from_name(name)) + || keyboard_interactively_grabbed()) return; /* if the requested menu is already the top visible menu, then don't bother */ |
