all repos — openbox @ 7cfaae8da9271a7bad4c73886c894a14cbf456e7

openbox fork - make it a bit more like ryudo

Don't close the menu when you held control even for execute
Mikael Magnusson mikachu@gmail.com
commit

7cfaae8da9271a7bad4c73886c894a14cbf456e7

parent

d00a0060f01ac4bca68184ecbba9822e70abea45

2 files changed, 3 insertions(+), 2 deletions(-)

jump to
M openbox/actions/execute.copenbox/actions/execute.c

@@ -206,7 +206,8 @@ }

/* 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)) {
M openbox/menuframe.copenbox/menuframe.c

@@ -1266,7 +1266,7 @@ ObMenuFrame *frame = self->frame;

/* release grabs before executing the shit */ if (!(state & ControlMask)) { - menu_frame_hide_all(); + event_cancel_all_key_grabs(); frame = NULL; }