From 5cf8dba613fbcb4d03d0ba444de7b6d226b82af8 Mon Sep 17 00:00:00 2001 From: Skoader Date: Tue, 2 Oct 2012 12:11:30 +1000 Subject: [PATCH] Window shouldn't have a resizing border. This removes the WS_THICKFRAME & WS_MAXIMIZEBOX window styles in windowed mode. --- Sources/Plasma/Apps/plClient/plClient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Plasma/Apps/plClient/plClient.cpp b/Sources/Plasma/Apps/plClient/plClient.cpp index 539ca629..b76d2aac 100644 --- a/Sources/Plasma/Apps/plClient/plClient.cpp +++ b/Sources/Plasma/Apps/plClient/plClient.cpp @@ -2203,7 +2203,7 @@ void plClient::ResizeDisplayDevice(int Width, int Height, bool 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;