summaryrefslogtreecommitdiffstats
path: root/libvo/x11_common.h
diff options
context:
space:
mode:
authorUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-29 16:22:33 +0300
committerUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-29 16:22:33 +0300
commit4237cb821b9eb5b28f1d14963563077e55225396 (patch)
treeed4e563469c0c87029f7244309635ab7c5dd47b1 /libvo/x11_common.h
parentd3113662b040cab1ba8cb44dc90db206f5ec34ca (diff)
downloadmpv-4237cb821b9eb5b28f1d14963563077e55225396.tar.bz2
mpv-4237cb821b9eb5b28f1d14963563077e55225396.tar.xz
Move allocation/free of x11 struct to x11_common.c
Allocate the struct in the init function and free in uninit.
Diffstat (limited to 'libvo/x11_common.h')
-rw-r--r--libvo/x11_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/x11_common.h b/libvo/x11_common.h
index cbf374f86c..eef178d680 100644
--- a/libvo/x11_common.h
+++ b/libvo/x11_common.h
@@ -86,7 +86,7 @@ extern Window mRootWin;
extern int mScreen;
extern int mLocalDisplay;
-void vo_x11_init_state(struct vo_x11_state *s);
+struct vo_x11_state *vo_x11_init_state(void);
int vo_init(struct vo *vo);
void vo_uninit(struct vo_x11_state *x11);
extern void vo_x11_decoration(struct vo *vo, int d );