From 492a26844c906b475526a335921bdfa9fe0f155a Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Wed, 6 Oct 2004 12:42:46 +0000 Subject: remove the hilightFirst option since it wasnt actually used in the code --- openbox/menu.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'openbox/menu.c') 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) -- cgit v1.2.3