diff options
| author | Mikael Magnusson <mikachu@gmail.com> | 2014-10-28 05:45:09 +0100 |
|---|---|---|
| committer | Mikael Magnusson <mikachu@gmail.com> | 2014-10-28 05:45:09 +0100 |
| commit | a68c41f50499363edcf5c72abf11cc61a3ad5954 (patch) | |
| tree | 18d2118bce135fc4ec090bf5c9bf973f239a7dba | |
| parent | 122e2a81d3899f918de81a735061776193ddeed8 (diff) | |
Fix some compiler warnings for ShowMenu
| -rw-r--r-- | openbox/actions/showmenu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openbox/actions/showmenu.c b/openbox/actions/showmenu.c index 8151db5e..0fdd8be2 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 <glib.h> 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) { |
