1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-19 19:59:09 +00:00

Window shouldn't have a resizing border.

This removes the WS_THICKFRAME & WS_MAXIMIZEBOX window styles in windowed mode.
This commit is contained in:
Skoader
2012-10-02 12:11:30 +10:00
parent eba0968808
commit 76ee9975b7

View File

@ -2192,7 +2192,7 @@ void plClient::ResizeDisplayDevice(int Width, int Height, hsBool Windowed)
if( Windowed )
{
// WS_VISIBLE appears necessary to avoid leaving behind framebuffer junk when going from windowed to a smaller window
winStyle = WS_OVERLAPPEDWINDOW | WS_VISIBLE;
winStyle = WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX | WS_VISIBLE;
winExStyle = WS_EX_APPWINDOW | WS_EX_WINDOWEDGE;
} else {
winStyle = WS_POPUP;