summaryrefslogtreecommitdiffstats
path: root/video/out/x11_common.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-05-16 14:02:28 +0200
committerwm4 <wm4@nowhere>2013-05-26 16:44:19 +0200
commitd5de75b340a124e83aa1bc7c76ecbdfd0b7037df (patch)
treec863999a2be27a77cfa43d2892174ccf1c19d973 /video/out/x11_common.c
parentbf10a4fdfa40cbe519e6ccb7fb895332da2021d1 (diff)
downloadmpv-d5de75b340a124e83aa1bc7c76ecbdfd0b7037df.tar.bz2
mpv-d5de75b340a124e83aa1bc7c76ecbdfd0b7037df.tar.xz
x11: use vo_x11_control() for all VOs
Diffstat (limited to 'video/out/x11_common.c')
-rw-r--r--video/out/x11_common.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/video/out/x11_common.c b/video/out/x11_common.c
index b9625879e8..b171605e2d 100644
--- a/video/out/x11_common.c
+++ b/video/out/x11_common.c
@@ -128,6 +128,7 @@ typedef struct
} MotifWmHints;
static void vo_x11_update_geometry(struct vo *vo);
+static void vo_x11_fullscreen(struct vo *vo);
static int vo_x11_get_fs_type(struct vo *vo);
static void xscreensaver_heartbeat(struct vo_x11_state *x11);
static void saver_on(struct vo_x11_state *x11);
@@ -371,7 +372,7 @@ static void init_atoms(struct vo_x11_state *x11)
x11->XA_NET_WM_CM = XInternAtom(x11->display, buf, False);
}
-void vo_x11_update_screeninfo(struct vo *vo)
+static void vo_x11_update_screeninfo(struct vo *vo)
{
struct mp_vo_opts *opts = vo->opts;
struct vo_x11_state *x11 = vo->x11;
@@ -1275,7 +1276,7 @@ static void vo_x11_update_geometry(struct vo *vo)
}
}
-void vo_x11_fullscreen(struct vo *vo)
+static void vo_x11_fullscreen(struct vo *vo)
{
struct mp_vo_opts *opts = vo->opts;
struct vo_x11_state *x11 = vo->x11;
@@ -1371,7 +1372,7 @@ void vo_x11_fullscreen(struct vo *vo)
x11->pos_changed_during_fs = false;
}
-void vo_x11_ontop(struct vo *vo)
+static void vo_x11_ontop(struct vo *vo)
{
struct mp_vo_opts *opts = vo->opts;
opts->ontop = !opts->ontop;
@@ -1379,7 +1380,7 @@ void vo_x11_ontop(struct vo *vo)
vo_x11_setlayer(vo, vo->x11->window, opts->ontop);
}
-void vo_x11_border(struct vo *vo)
+static void vo_x11_border(struct vo *vo)
{
vo->opts->border = !vo->opts->border;
vo_x11_decoration(vo, vo->opts->border && !vo->opts->fs);