diff options
Diffstat (limited to 'openbox/menu.c')
| -rw-r--r-- | openbox/menu.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/openbox/menu.c b/openbox/menu.c index e200654a..fce49a6f 100644 --- a/openbox/menu.c +++ b/openbox/menu.c @@ -305,12 +305,8 @@ void menu_show(gchar *name, gint x, gint y, ObClient *client) else menu_frame_move(frame, x - ob_rr_theme->bwidth, y - ob_rr_theme->bwidth); - if (!menu_frame_show(frame, NULL)) { + if (!menu_frame_show(frame, NULL)) menu_frame_free(frame); - } else { - if (frame->entries) - menu_frame_select_next(frame); - } } static ObMenuEntry* menu_entry_new(ObMenu *menu, ObMenuEntryType type, gint id) |
