summaryrefslogtreecommitdiff
path: root/openbox/menu.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-08-29 08:44:55 +0000
committerDana Jansens <danakj@orodu.net>2003-08-29 08:44:55 +0000
commitdcdc325f5c8c946df696d17a6da329aeac149586 (patch)
tree2790687d65f79bf5b81712d97756e5032c3a2bc4 /openbox/menu.c
parent43fded6a10351a8f9f99344a102d79ece6afe8a8 (diff)
ultra-keyboard-controlled-menus
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 464011c8..84af99fd 100644
--- a/openbox/menu.c
+++ b/openbox/menu.c
@@ -215,6 +215,8 @@ void menu_show(gchar *name, gint x, gint y, ObClient *client)
frame = menu_frame_new(self, client);
menu_frame_move(frame, x, y);
menu_frame_show(frame, NULL);
+ if (frame->entries)
+ menu_frame_select_next(frame);
}
static ObMenuEntry* menu_entry_new(ObMenu *menu, ObMenuEntryType type, gint id)