summaryrefslogtreecommitdiffstats
path: root/video/out/vo_x11.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-01-11 18:50:02 +0100
committerwm4 <wm4@nowhere>2014-01-11 18:58:07 +0100
commit905029ec0c89b638792a429263bb6033eb074570 (patch)
tree83d49f60db988316bb9dd9f3f7f5f401537c2fb9 /video/out/vo_x11.c
parentd956bbc065d570f425f402c83d69957584591dbd (diff)
downloadmpv-905029ec0c89b638792a429263bb6033eb074570.tar.bz2
mpv-905029ec0c89b638792a429263bb6033eb074570.tar.xz
video/out: remove pointless x/y parameter from vo_x11_config_vo_window
This never made any real sense; the "backend" has to access vo->dx/dy anyway.
Diffstat (limited to 'video/out/vo_x11.c')
-rw-r--r--video/out/vo_x11.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/video/out/vo_x11.c b/video/out/vo_x11.c
index b7bd64b0a5..8240f55b25 100644
--- a/video/out/vo_x11.c
+++ b/video/out/vo_x11.c
@@ -308,8 +308,7 @@ static int reconfig(struct vo *vo, struct mp_image_params *fmt, int flags)
TrueColor, &p->vinfo))
return -1;
- vo_x11_config_vo_window(vo, &p->vinfo, vo->dx, vo->dy, vo->dwidth,
- vo->dheight, flags, "x11");
+ vo_x11_config_vo_window(vo, &p->vinfo, vo->dwidth, vo->dheight, flags, "x11");
if (!resize(vo))
return -1;