diff --git a/openbox/prompt.c b/openbox/prompt.c index 051c993a..88c74b68 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); }