diff options
author | adnano <me@adnano.co> | 2024-05-03 19:10:28 -0400 |
---|---|---|
committer | adnano <me@adnano.co> | 2024-05-03 19:10:28 -0400 |
commit | 8f19d6a8d2f34aeb4060d4374eb204b270ffbaa8 (patch) | |
tree | 844a68afc304b1d009bdcd0fd78a593ca7825820 /menu.h | |
parent | 92d3b294aeff5b36916782847bae4389c10e8f17 (diff) | |
download | wmenu-8f19d6a8d2f34aeb4060d4374eb204b270ffbaa8.tar.gz |
wmenu-run: Populate items from PATH
Diffstat (limited to 'menu.h')
-rw-r--r-- | menu.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -74,12 +74,12 @@ struct menu { }; struct menu *menu_create(); +void menu_destroy(struct menu *menu); void menu_getopts(struct menu *menu, int argc, char *argv[]); -void menu_add_item(struct menu *menu, char *text); +void menu_add_item(struct menu *menu, char *text, bool sort); void menu_render_items(struct menu *menu); void menu_paste(struct menu *menu, const char *text, ssize_t len); void menu_keypress(struct menu *menu, enum wl_keyboard_key_state key_state, xkb_keysym_t sym); -void menu_destroy(struct menu *menu); #endif |