summaryrefslogtreecommitdiff
path: root/openbox/menu.c
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@gmail.com>2014-10-06 21:54:16 +0200
committerMikael Magnusson <mikachu@gmail.com>2014-10-11 02:13:49 +0200
commit39dfb7458a75ca502fb0c18ec0f1a107f5d51249 (patch)
tree68775241fabce04d11b92f4e4731c27209fa911d /openbox/menu.c
parentd3359676e49b558cb7c6e24ea889c037d044b79f (diff)
Pass the GravityPoint as const* instead of by value
Diffstat (limited to 'openbox/menu.c')
-rw-r--r--openbox/menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/menu.c b/openbox/menu.c
index b917a59d..ae69acbb 100644
--- a/openbox/menu.c
+++ b/openbox/menu.c
@@ -457,7 +457,7 @@ static gboolean menu_hide_delay_func(gpointer data)
return FALSE; /* no repeat */
}
-void menu_show(gchar *name, GravityPoint pos, gint monitor,
+void menu_show(gchar *name, const GravityPoint *pos, gint monitor,
gboolean mouse, gboolean user_positioned, ObClient *client)
{
ObMenu *self;