From c7af49b5c564d6287a0293ae26fc713fb55b4dc8 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 7 Feb 2008 00:10:57 -0500 Subject: let you specify return codes for the different buttons in a prompt, and specify a callback function for the prompt for when it is closed --- openbox/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbox/client.c') diff --git a/openbox/client.c b/openbox/client.c index 500562b0..7add1222 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -3349,7 +3349,7 @@ void client_close(ObClient *self) if (!(self->functions & OB_CLIENT_FUNC_CLOSE)) return; if (self->prompt) { - prompt_hide(self->prompt); + prompt_cancel(self->prompt); return; } -- cgit v1.2.3