d3d11videosink: Fix window switching in case of fullscreen mode
Other Windows applications allow window switching even when an application window is in fullscreen mode. Also fixing regression introduced in 15248d8b84db9e79e6d4587b212b12ca82fc4a6b which makes restored window is always located at topmost since we do not call SetWindowPos() anymore when restoring Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5574>
This commit is contained in:
parent
f32bb06e32
commit
795e1bac34
@ -669,7 +669,7 @@ gst_d3d11_window_win32_change_fullscreen_mode_internal (GstD3D11WindowWin32 *
|
||||
swap_chain->GetContainingOutput (&output);
|
||||
output->GetDesc (&output_desc);
|
||||
|
||||
SetWindowPos (hwnd, HWND_TOPMOST,
|
||||
SetWindowPos (hwnd, HWND_TOP,
|
||||
output_desc.DesktopCoordinates.left,
|
||||
output_desc.DesktopCoordinates.top,
|
||||
output_desc.DesktopCoordinates.right,
|
||||
|
Loading…
x
Reference in New Issue
Block a user