diff options
author | wm4 <wm4@nowhere> | 2014-01-11 18:50:02 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-01-11 18:58:07 +0100 |
commit | 905029ec0c89b638792a429263bb6033eb074570 (patch) | |
tree | 83d49f60db988316bb9dd9f3f7f5f401537c2fb9 /video/out/x11_common.c | |
parent | d956bbc065d570f425f402c83d69957584591dbd (diff) | |
download | mpv-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/x11_common.c')
-rw-r--r-- | video/out/x11_common.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/video/out/x11_common.c b/video/out/x11_common.c index 8bdc845523..5fa0c54d23 100644 --- a/video/out/x11_common.c +++ b/video/out/x11_common.c @@ -1335,12 +1335,14 @@ static void vo_x11_highlevel_resize(struct vo *vo, int x, int y, int w, int h) * * If the window already exists, it just moves and resizes it. */ -void vo_x11_config_vo_window(struct vo *vo, XVisualInfo *vis, int x, int y, +void vo_x11_config_vo_window(struct vo *vo, XVisualInfo *vis, unsigned int width, unsigned int height, int flags, const char *classname) { struct mp_vo_opts *opts = vo->opts; struct vo_x11_state *x11 = vo->x11; + int x = vo->dx; + int y = vo->dy; if (opts->WinID >= 0) { if (opts->WinID == 0) |