diff options
Diffstat (limited to 'src/root.h')
-rw-r--r-- | src/root.h | 11 |
1 files changed, 4 insertions, 7 deletions
@@ -25,11 +25,6 @@ void DestroyRootMenu(); */ void SetRootMenu(const char *indexes, struct Menu *m); -/** Set whether a confirmation dialog is displayed on exit. - * @param v 1 to display confirmation, 0 to just exit. - */ -void SetShowExitConfirmation(int v); - /** Determine if a root menu is defined for the specified index. * @return 1 if it is defined, 0 if not. */ @@ -58,8 +53,10 @@ void RunCommand(const char *command); /** Restart the window manager. */ void Restart(); -/** Exit the window manager. */ -void Exit(); +/** Exit the window manager. + * @param confirm Whether to prompt for confirmation. + */ +void Exit(int confirm); #endif |