diff options
| author | Mikael Magnusson <mikachu@comhem.se> | 2004-10-06 12:42:46 +0000 |
|---|---|---|
| committer | Mikael Magnusson <mikachu@comhem.se> | 2004-10-06 12:42:46 +0000 |
| commit | 492a26844c906b475526a335921bdfa9fe0f155a (patch) | |
| tree | 1acb8d5635daf624d4fb4a85f58a271a8a264335 /openbox/menu.c | |
| parent | 90c81dfff01c2d6766d9baa3e2b807793b7ba171 (diff) | |
remove the hilightFirst option since it wasnt actually used in the code
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) |
