aboutsummaryrefslogtreecommitdiff
path: root/menu.h
diff options
context:
space:
mode:
authoradnano <me@adnano.co>2024-05-03 19:10:28 -0400
committeradnano <me@adnano.co>2024-05-03 19:10:28 -0400
commit8f19d6a8d2f34aeb4060d4374eb204b270ffbaa8 (patch)
tree844a68afc304b1d009bdcd0fd78a593ca7825820 /menu.h
parent92d3b294aeff5b36916782847bae4389c10e8f17 (diff)
downloadwmenu-8f19d6a8d2f34aeb4060d4374eb204b270ffbaa8.tar.gz
wmenu-run: Populate items from PATH
Diffstat (limited to 'menu.h')
-rw-r--r--menu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/menu.h b/menu.h
index 039cac7..724aa53 100644
--- a/menu.h
+++ b/menu.h
@@ -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