vlc | branch: master | Steve Lhomme <[email protected]> | Thu Apr  4 12:15:19 
2019 +0200| [4b3ca07e6868cd3070e7bb4dbe6c1fd9dc1db115] | committer: Steve Lhomme

vout:win32: get the window root using the hvideownd

Instead of the the main hwnd on which we should rely less (and it should
disappear when don't rely on it to place the video window).

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4b3ca07e6868cd3070e7bb4dbe6c1fd9dc1db115
---

 modules/video_output/win32/common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/video_output/win32/common.c 
b/modules/video_output/win32/common.c
index b9d1c69fee..37038ac88f 100644
--- a/modules/video_output/win32/common.c
+++ b/modules/video_output/win32/common.c
@@ -227,7 +227,7 @@ static void CommonChangeThumbnailClip(vlc_object_t *obj, 
vout_display_sys_win32_
         ITaskbarList3 *taskbl = ptr;
         taskbl->lpVtbl->HrInit(taskbl);
 
-        HWND hroot = GetAncestor(sys->hwnd,GA_ROOT);
+        HWND hroot = GetAncestor(sys->hvideownd, GA_ROOT);
         RECT video;
         if (show) {
             GetWindowRect(sys->hparent, &video);

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to