projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
c949921
)
Prompt should not always use the currently focused button as its result (Fix bug...
author
Dana Jansens
<danakj@orodu.net>
Sun, 30 Sep 2012 22:09:37 +0000
(18:09 -0400)
committer
Dana Jansens
<danakj@orodu.net>
Sun, 30 Sep 2012 22:09:37 +0000
(18:09 -0400)
openbox/prompt.c
patch
|
blob
|
history
diff --git
a/openbox/prompt.c
b/openbox/prompt.c
index
051c993
..
88c74b6
100644
(file)
--- 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) {
{
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);
}
if (clean && self->cleanup)
self->cleanup(self, self->data);
}