diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-06-22 04:37:33 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-06-22 04:37:33 +0000 |
| commit | fbc7607fbd1a380428a53094e727ac7631871bd4 (patch) | |
| tree | ece58725f6c4d5e8081ffe41ec9d7ff9ac7c0993 /openbox/menuframe.c | |
| parent | 58d8b90122b33f608b5c4c5b91d15207eb2cecf1 (diff) | |
add the cyclewindows action
Diffstat (limited to 'openbox/menuframe.c')
| -rw-r--r-- | openbox/menuframe.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/openbox/menuframe.c b/openbox/menuframe.c index 4cdf6a37..6a25a9ae 100644 --- a/openbox/menuframe.c +++ b/openbox/menuframe.c @@ -1179,7 +1179,7 @@ void menu_entry_frame_show_submenu(ObMenuEntryFrame *self) menu_frame_show_submenu(f, self->frame, self); } -void menu_entry_frame_execute(ObMenuEntryFrame *self, guint state, Time time) +void menu_entry_frame_execute(ObMenuEntryFrame *self, guint state) { if (self->entry->type == OB_MENU_ENTRY_TYPE_NORMAL && self->entry->data.normal.enabled) @@ -1200,11 +1200,10 @@ void menu_entry_frame_execute(ObMenuEntryFrame *self, guint state, Time time) } if (func) - func(entry, frame, client, state, data, time); + func(entry, frame, client, state, data); else actions_run_acts(acts, OB_USER_ACTION_MENU_SELECTION, - time, state, -1, -1, OB_FRAME_CONTEXT_NONE, - client); + state, -1, -1, OB_FRAME_CONTEXT_NONE, client); } } |
