Commit 10c43ff0 authored by Erwan Tulou's avatar Erwan Tulou

skins2(Win32): fix second bug of #685

On Windows, skins with on top set were still visible in fullscreen mode

This patch makes fullscreen also a topmost window.
parent 027b4402
...@@ -141,8 +141,15 @@ void Win32Window::show() const ...@@ -141,8 +141,15 @@ void Win32Window::show() const
{ {
if( m_type == GenericWindow::VoutWindow ) if( m_type == GenericWindow::VoutWindow )
{
SetWindowPos( m_hWnd, HWND_BOTTOM, 0, 0, 0, 0, SetWindowPos( m_hWnd, HWND_BOTTOM, 0, 0, 0, 0,
SWP_NOMOVE | SWP_NOSIZE ); SWP_NOMOVE | SWP_NOSIZE );
}
else if( m_type == GenericWindow::FullscreenWindow )
{
SetWindowPos( m_hWnd, HWND_TOPMOST, 0, 0, 0, 0,
SWP_NOMOVE | SWP_NOSIZE );
}
ShowWindow( m_hWnd, SW_SHOW ); ShowWindow( m_hWnd, SW_SHOW );
} }
......
Markdown is supported
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