mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-29 12:25:37 +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/5578>
This commit is contained in:
parent
7171849c3e
commit
1a5a965846
1 changed files with 1 additions and 1 deletions
|
@ -683,7 +683,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