let you specify return codes for the different buttons in a prompt, and specify a...
[mikachu/openbox.git] / openbox / client.c
index 33be03d..aad9202 100644 (file)
@@ -3257,7 +3257,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;
     }