From a68c41f50499363edcf5c72abf11cc61a3ad5954 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Tue, 28 Oct 2014 05:45:09 +0100 Subject: [PATCH] Fix some compiler warnings for ShowMenu --- openbox/actions/showmenu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openbox/actions/showmenu.c b/openbox/actions/showmenu.c index 8151db5..0fdd8be 100644 --- a/openbox/actions/showmenu.c +++ b/openbox/actions/showmenu.c @@ -3,6 +3,7 @@ #include "openbox/place.h" #include "openbox/geom.h" #include "openbox/screen.h" +#include "openbox/config.h" #include typedef struct { @@ -82,7 +83,7 @@ static void free_func(gpointer options) static gboolean run_func(ObActionsData *data, gpointer options) { Options *o = options; - GravityPoint position = { 0, }; + GravityPoint position = { { 0, }, }; gint monitor = -1; if (o->use_position) { -- 1.9.1