Merge branch 'develop' into feature-position

This commit is contained in:
Ximi1970
2020-12-05 16:15:47 +01:00

View File

@@ -413,6 +413,13 @@ void WindowCtrlWin::normalizeWindow( quint64 window )
return;
}
long style = GetWindowLong( (HWND)window, GWL_STYLE );
style &= ~(WS_EX_TOOLWINDOW);
style |= WS_EX_APPWINDOW;
SetWindowLong( (HWND)window, GWL_STYLE, style );
ShowWindow( (HWND)window, SW_RESTORE );
SetForegroundWindow( (HWND)window );
}