projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79c9910
)
missed one thing, using invalid mem still
author
Dana Jansens
<danakj@orodu.net>
Thu, 28 Aug 2003 17:22:10 +0000
(17:22 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Thu, 28 Aug 2003 17:22:10 +0000
(17:22 +0000)
openbox/menuframe.c
patch
|
blob
|
history
diff --git
a/openbox/menuframe.c
b/openbox/menuframe.c
index 725b1a18b732047284a392a1e436cab57a8dbc90..efafe30b3da4b7280788bb4b3c9dcfdeda7a3b0a 100644
(file)
--- a/
openbox/menuframe.c
+++ b/
openbox/menuframe.c
@@
-578,6
+578,7
@@
void menu_entry_frame_execute(ObMenuEntryFrame *self, gboolean hide)
ObMenuExecuteFunc func = self->frame->menu->execute_func;
gpointer data = self->frame->menu->data;
GSList *acts = self->entry->data.normal.actions;
+ ObClient *client = self->frame->client;
/* release grabs before executing the shit */
menu_frame_hide_all();
@@
-590,7
+591,7
@@
void menu_entry_frame_execute(ObMenuEntryFrame *self, gboolean hide)
for (it = acts; it; it = g_slist_next(it))
{
ObAction *act = it->data;
- act->data.any.c =
self->frame->
client;
+ act->data.any.c = client;
act->func(&act->data);
}
}