]> Dogcows Code - chaz/openbox/blobdiff - openbox/menu.c
remove the hilightFirst option since it wasnt actually used in the code
[chaz/openbox] / openbox / menu.c
index e200654a6543ebd6631a6a6a2960ac1ecae60d43..fce49a6feb565ee8092d52c74e68358e8208e33b 100644 (file)
@@ -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)
This page took 0.023336 seconds and 4 git commands to generate.