]> Dogcows Code - chaz/openbox/commitdiff
Prompt should not always use the currently focused button as its result (Fix bug...
authorDana Jansens <danakj@orodu.net>
Sun, 30 Sep 2012 22:09:37 +0000 (18:09 -0400)
committerDana Jansens <danakj@orodu.net>
Sun, 30 Sep 2012 22:09:37 +0000 (18:09 -0400)
openbox/prompt.c

index 051c993af45af5732d7e117f964884b41a169618..88c74b68d048baf3519a753303b547be07e4b7c0 100644 (file)
@@ -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);
     }
This page took 0.023019 seconds and 4 git commands to generate.