X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fevent.c;h=3bfca98e6e28ca344ab1c5296de6b58d18ad1497;hb=47744e03c3016e98940a4ce6393d9f6403ca794c;hp=e03c8203cd66e62ffdc49a35ae69b8a83bd49dc8;hpb=7f9080c6a0679aab23e7519dcc6d8498f4e28a0f;p=chaz%2Fopenbox diff --git a/openbox/event.c b/openbox/event.c index e03c8203..3bfca98e 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -1566,7 +1566,7 @@ static gboolean event_handle_menu_keyboard(XEvent *ev) Control-Enter runs it without closing the menu. */ if (frame->child) menu_frame_select_next(frame->child); - else + else if (frame->selected) menu_entry_frame_execute(frame->selected, state, ev->xkey.time); }