mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 03:31:05 +00:00
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 15248d8b84
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue