]> git.sesse.net Git - vlc/blobdiff - modules/video_output/msw/common.c
Win32: use video-x and video-y (fixes #3215)
[vlc] / modules / video_output / msw / common.c
index d21e211ea1ac56cde869e76e67953ef4445cd2af..8dd2d79f061b362e6e89cf39fc7f9b343e67d45b 100644 (file)
@@ -100,8 +100,8 @@ int CommonInit(vout_display_t *vd)
     cfg.use_overlay = sys->use_overlay;
 #endif
     cfg.win.type   = VOUT_WINDOW_TYPE_HWND;
-    cfg.win.x      = 0;
-    cfg.win.y      = 0;
+    cfg.win.x      = var_InheritInteger(vd, "video-x");
+    cfg.win.y      = var_InheritInteger(vd, "video-y");
     cfg.win.width  = vd->cfg->display.width;
     cfg.win.height = vd->cfg->display.height;