summaryrefslogtreecommitdiff
path: root/openbox/menu.c
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@comhem.se>2006-04-20 18:36:23 +0000
committerMikael Magnusson <mikachu@comhem.se>2006-04-20 18:36:23 +0000
commitad215303e7e651c0274d219709e109073bc4a032 (patch)
treee557bb9475800467441ac8e525209ed7f37a1823 /openbox/menu.c
parent0efe52a12bdf838363b061c05a537a56f8daceae (diff)
fix #2670 (hilight first entry in menus) and respect keepBorder setting when removing borders from mwm hints
Diffstat (limited to 'openbox/menu.c')
-rw-r--r--openbox/menu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbox/menu.c b/openbox/menu.c
index d4e44418..a969da83 100644
--- a/openbox/menu.c
+++ b/openbox/menu.c
@@ -315,6 +315,8 @@ void menu_show(gchar *name, gint x, gint y, ObClient *client)
}
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)