]> git.sesse.net Git - vlc/blobdiff - modules/video_output/xcb/common.c
XCB: set window provider requested position from video-x and video-y
[vlc] / modules / video_output / xcb / common.c
index 9b714f6f6ba52ef6b5ff7fd8da3491f335f1ba9b..d7e90d23da1f1cc376c3d072846a6c8e153f49e0 100644 (file)
@@ -125,6 +125,8 @@ vout_window_t *GetWindow (vout_display_t *vd,
 
     memset( &wnd_cfg, 0, sizeof(wnd_cfg) );
     wnd_cfg.type = VOUT_WINDOW_TYPE_XID;
+    wnd_cfg.x = var_InheritInteger (vd, "video-x");
+    wnd_cfg.y = var_InheritInteger (vd, "video-y");
     wnd_cfg.width  = vd->cfg->display.width;
     wnd_cfg.height = vd->cfg->display.height;