summaryrefslogtreecommitdiffstats
path: root/libvo/x11_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/x11_common.c')
-rw-r--r--libvo/x11_common.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libvo/x11_common.c b/libvo/x11_common.c
index 47758b0d08..e5dbee5734 100644
--- a/libvo/x11_common.c
+++ b/libvo/x11_common.c
@@ -122,6 +122,10 @@ static int vo_x11_get_fs_type(int supported);
static void saver_off(Display *);
static void saver_on(Display *);
+void vo_x11_init_state(struct vo_x11_state *s)
+{
+ *s = (struct vo_x11_state){};
+}
/*
* Sends the EWMH fullscreen state event.