mirror of
https://github.com/labwc/labwc.git
synced 2025-11-01 22:58:47 -04:00
menu: minor refactoring
This commit is contained in:
parent
f0d8eb0a60
commit
6cdf3d68f3
3 changed files with 24 additions and 26 deletions
|
|
@ -15,6 +15,7 @@ struct menuitem {
|
|||
};
|
||||
|
||||
struct menu {
|
||||
struct server *server;
|
||||
int x;
|
||||
int y;
|
||||
struct wl_list menuitems;
|
||||
|
|
@ -34,6 +35,6 @@ void menu_set_selected(struct menu *menu, int x, int y);
|
|||
void menu_action_selected(struct server *server, struct menu *menu);
|
||||
|
||||
/* menu_reconfigure - reload theme and content */
|
||||
void menu_reconfigure(void);
|
||||
void menu_reconfigure(struct server *server, struct menu *menu);
|
||||
|
||||
#endif /* __LABWC_MENU_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue