mirror of
https://github.com/labwc/labwc.git
synced 2025-11-05 13:29:58 -05:00
menu: s/menu_open/menu_open_root/
...to be consistent with the 'close' equivalent
This commit is contained in:
parent
e79bbd3022
commit
138979c506
3 changed files with 4 additions and 4 deletions
|
|
@ -605,7 +605,7 @@ show_menu(struct server *server, struct view *view,
|
|||
|
||||
/* Replaced by next show_menu() or cleaned on view_destroy() */
|
||||
menu->triggered_by_view = view;
|
||||
menu_open(menu, x, y);
|
||||
menu_open_root(menu, x, y);
|
||||
}
|
||||
|
||||
static struct view *
|
||||
|
|
|
|||
|
|
@ -842,7 +842,7 @@ menu_close(struct menu *menu)
|
|||
}
|
||||
|
||||
void
|
||||
menu_open(struct menu *menu, int x, int y)
|
||||
menu_open_root(struct menu *menu, int x, int y)
|
||||
{
|
||||
assert(menu);
|
||||
if (menu->server->menu_current) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue