diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-06-22 03:53:22 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-06-22 03:53:22 +0000 |
| commit | 38268dc917ac9e59d9e8ef87825c9489ced77e95 (patch) | |
| tree | a66a1deb0f3a9f97e1ffce690b0a7c8e6f579455 /openbox/menuframe.c | |
| parent | 9dacac5e5e6b9ed86e76680b048bc227d8866ac6 (diff) | |
add the showmenu action
Diffstat (limited to 'openbox/menuframe.c')
| -rw-r--r-- | openbox/menuframe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/menuframe.c b/openbox/menuframe.c index 7bacf020..4cdf6a37 100644 --- a/openbox/menuframe.c +++ b/openbox/menuframe.c @@ -941,7 +941,7 @@ static gboolean menu_frame_show(ObMenuFrame *self) } gboolean menu_frame_show_topmenu(ObMenuFrame *self, gint x, gint y, - gint button) + gboolean mouse) { gint px, py; guint i; @@ -963,7 +963,7 @@ gboolean menu_frame_show_topmenu(ObMenuFrame *self, gint x, gint y, } if (self->menu->place_func) - self->menu->place_func(self, &x, &y, button, self->menu->data); + self->menu->place_func(self, &x, &y, mouse, self->menu->data); else menu_frame_place_topmenu(self, &x, &y); |
