diff options
| author | Dana Jansens <danakj@orodu.net> | 2012-09-30 18:09:37 -0400 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2012-09-30 18:09:37 -0400 |
| commit | 29b735d8a92b425a00c0587f78d7d229cbba3012 (patch) | |
| tree | db106d3a0eaa9df7bcdfe370b15bfa7708fd07b0 /openbox | |
| parent | c94992179e99f4088f3a1cb8e304a9fb6035170d (diff) | |
Prompt should not always use the currently focused button as its result (Fix bug 5518)
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/prompt.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |
