From 39dfb7458a75ca502fb0c18ec0f1a107f5d51249 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Mon, 6 Oct 2014 21:54:16 +0200 Subject: Pass the GravityPoint as const* instead of by value --- openbox/actions/showmenu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbox/actions') diff --git a/openbox/actions/showmenu.c b/openbox/actions/showmenu.c index 13afe225..8151db5e 100644 --- a/openbox/actions/showmenu.c +++ b/openbox/actions/showmenu.c @@ -115,7 +115,7 @@ static gboolean run_func(ObActionsData *data, gpointer options) /* you cannot call ShowMenu from inside a menu */ if (data->uact != OB_USER_ACTION_MENU_SELECTION && o->name) - menu_show(o->name, position, monitor, + menu_show(o->name, &position, monitor, data->button != 0, o->use_position, data->client); return FALSE; -- cgit v1.2.3