summaryrefslogtreecommitdiffstats
path: root/libvo/vo_xv.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_xv.c')
-rw-r--r--libvo/vo_xv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/vo_xv.c b/libvo/vo_xv.c
index 301fed5a7b..94fc7d2f6a 100644
--- a/libvo/vo_xv.c
+++ b/libvo/vo_xv.c
@@ -376,7 +376,7 @@ static int config(struct vo *vo, uint32_t width, uint32_t height,
ctx->drwY, vo->dwidth, vo->dheight);
if (opts->vo_ontop)
- vo_x11_setlayer(x11->display, vo_window, opts->vo_ontop);
+ vo_x11_setlayer(vo, vo_window, opts->vo_ontop);
return 0;
}