all repos — openbox @ a68c41f50499363edcf5c72abf11cc61a3ad5954

openbox fork - make it a bit more like ryudo

Fix some compiler warnings for ShowMenu
Mikael Magnusson mikachu@gmail.com
commit

a68c41f50499363edcf5c72abf11cc61a3ad5954

parent

122e2a81d3899f918de81a735061776193ddeed8

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M openbox/actions/showmenu.copenbox/actions/showmenu.c

@@ -3,6 +3,7 @@ #include "openbox/menu.h"

#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 @@ /* Always return FALSE because its not interactive */

static gboolean run_func(ObActionsData *data, gpointer options) { Options *o = options; - GravityPoint position = { 0, }; + GravityPoint position = { { 0, }, }; gint monitor = -1; if (o->use_position) {