From 29b735d8a92b425a00c0587f78d7d229cbba3012 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 30 Sep 2012 18:09:37 -0400 Subject: [PATCH] Prompt should not always use the currently focused button as its result (Fix bug 5518) --- openbox/prompt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbox/prompt.c b/openbox/prompt.c index 051c993..88c74b6 100644 --- a/openbox/prompt.c +++ b/openbox/prompt.c @@ -595,7 +595,7 @@ static void prompt_run_callback(ObPrompt *self, gint result) { prompt_ref(self); if (self->func) { - gboolean clean = self->func(self, self->focus->result, self->data); + gboolean clean = self->func(self, result, self->data); if (clean && self->cleanup) self->cleanup(self, self->data); } -- 1.9.1