Commit 4b3ca07e authored by Steve Lhomme's avatar Steve Lhomme
Browse files

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).
parent ebf27662
......@@ -227,7 +227,7 @@ static void CommonChangeThumbnailClip(vlc_object_t *obj, vout_display_sys_win32_
ITaskbarList3 *taskbl = ptr;
HWND hroot = GetAncestor(sys->hwnd,GA_ROOT);
HWND hroot = GetAncestor(sys->hvideownd, GA_ROOT);
RECT video;
if (show) {
GetWindowRect(sys->hparent, &video);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment