summaryrefslogtreecommitdiffstats
path: root/include/rofi.h
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2016-01-20 18:50:33 +0100
committerDave Davenport <qball@gmpclient.org>2016-01-20 18:50:33 +0100
commiteadf455c8c4d74a9b66a47ad97de274fb3d16241 (patch)
treefd93ff968c83f1aa870c9cf6b97dfa4f7be278b2 /include/rofi.h
parent74de448ea9fce08d3a9ba7c3f528cdf2f01d1bf8 (diff)
Let DMenu mode reuse open dialog and not restart it. handy for multi-select.
Diffstat (limited to 'include/rofi.h')
-rw-r--r--include/rofi.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/rofi.h b/include/rofi.h
index c1824090..95fd06c6 100644
--- a/include/rofi.h
+++ b/include/rofi.h
@@ -52,7 +52,6 @@ typedef enum
*/
MenuState *menu ( Mode *sw,
char *input, char *prompt,
- unsigned int selected_line,
const char *message, MenuFlags flags )
__attribute__ ( ( nonnull ( 1, 2, 3 ) ) );
@@ -92,5 +91,7 @@ void menu_state_itterrate ( MenuState *state, XEvent *event );
unsigned int menu_state_get_completed ( const MenuState *state );
const char * menu_state_get_user_input ( const MenuState *state );
void menu_state_free ( MenuState *state );
+void menu_state_restart ( MenuState *state );
+void menu_state_set_selected_line ( MenuState *state, unsigned int selected_line );
/*@}*/
#endif