summaryrefslogtreecommitdiff
path: root/openbox/menuframe.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-06-22 03:53:22 +0000
committerDana Jansens <danakj@orodu.net>2007-06-22 03:53:22 +0000
commit38268dc917ac9e59d9e8ef87825c9489ced77e95 (patch)
treea66a1deb0f3a9f97e1ffce690b0a7c8e6f579455 /openbox/menuframe.c
parent9dacac5e5e6b9ed86e76680b048bc227d8866ac6 (diff)
add the showmenu action
Diffstat (limited to 'openbox/menuframe.c')
-rw-r--r--openbox/menuframe.c4
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);