/** Kill a client window. */ void KillClient(ClientNode *np) { Assert(np); ShowConfirmDialog(np, KillClientHandler, _("Kill this window?"), _("This may cause data to be lost!"), NULL); }
/** Exit with optional confirmation. */ void Exit() { if(showExitConfirmation) { ShowConfirmDialog(NULL, ExitHandler, "Exit JWM", "Are you sure?", NULL); } else { ExitHandler(NULL); } }
/** Exit with optional confirmation. */ void Exit(void) { if(settings.exitConfirmation) { ShowConfirmDialog(NULL, ExitHandler, _("Exit JWM"), _("Are you sure?"), NULL); } else { ExitHandler(NULL); } }