all repos — openbox @ 5074d902aa215a2a656980d31b19574a5db1f795

openbox fork - make it a bit more like ryudo

add a big comment about more menus
Dana Jansens danakj@orodu.net
commit

5074d902aa215a2a656980d31b19574a5db1f795

parent

24df4baa6ba7bb61e4b954c22cbed73b99143cea

1 files changed, 9 insertions(+), 0 deletions(-)

jump to
M openbox/menu.copenbox/menu.c

@@ -327,6 +327,15 @@ &self->title, &self->shortcut_position);

g_hash_table_replace(menu_hash, self->name, self); + /* Each menu has a single more_menu. When the menu spills past what + can fit on the screen, a new menu frame entry is created from this + more_menu, and a new menu frame for the submenu is created for this + menu, also pointing to the more_menu. + + This can be done multiple times using the same more_menu. + + more_menu->more_menu will always be NULL, since there is only 1 for + each menu. */ self->more_menu = g_new0(ObMenu, 1); self->more_menu->name = _("More..."); self->more_menu->title = _("More...");