Fix some compiler warnings for ShowMenu
This commit is contained in:
parent
122e2a81d3
commit
a68c41f504
1 changed files with 2 additions and 1 deletions
|
@ -3,6 +3,7 @@
|
||||||
#include "openbox/place.h"
|
#include "openbox/place.h"
|
||||||
#include "openbox/geom.h"
|
#include "openbox/geom.h"
|
||||||
#include "openbox/screen.h"
|
#include "openbox/screen.h"
|
||||||
|
#include "openbox/config.h"
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
@ -82,7 +83,7 @@ static void free_func(gpointer options)
|
||||||
static gboolean run_func(ObActionsData *data, gpointer options)
|
static gboolean run_func(ObActionsData *data, gpointer options)
|
||||||
{
|
{
|
||||||
Options *o = options;
|
Options *o = options;
|
||||||
GravityPoint position = { 0, };
|
GravityPoint position = { { 0, }, };
|
||||||
gint monitor = -1;
|
gint monitor = -1;
|
||||||
|
|
||||||
if (o->use_position) {
|
if (o->use_position) {
|
||||||
|
|
Loading…
Reference in a new issue