From 7cfaae8da9271a7bad4c73886c894a14cbf456e7 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Mon, 18 Jan 2010 16:48:27 +0100 Subject: Don't close the menu when you held control even for execute --- openbox/actions/execute.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'openbox/actions/execute.c') diff --git a/openbox/actions/execute.c b/openbox/actions/execute.c index 77244d8f..0e9e7387 100644 --- a/openbox/actions/execute.c +++ b/openbox/actions/execute.c @@ -206,7 +206,8 @@ static gboolean run_func(ObActionsData *data, gpointer options) /* If there is a keyboard grab going on then we need to cancel it so the application can grab things */ - event_cancel_all_key_grabs(); + if (data->uact != OB_USER_ACTION_MENU_SELECTION) + event_cancel_all_key_grabs(); e = NULL; if (!g_shell_parse_argv(cmd, NULL, &argv, &e)) { -- cgit v1.2.3