From f323fb33d3107011746c22316ab93f1e0a524e1a Mon Sep 17 00:00:00 2001 From: Christopher O'Neill Date: Sun, 12 Mar 2017 19:30:25 +0000 Subject: [PATCH] Windows: Fix window style --- src/tracker/win32/Win32_main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tracker/win32/Win32_main.cpp b/src/tracker/win32/Win32_main.cpp index 4dcffa0b..5661215c 100644 --- a/src/tracker/win32/Win32_main.cpp +++ b/src/tracker/win32/Win32_main.cpp @@ -1130,10 +1130,10 @@ static BOOL AppInit(HINSTANCE hinst,int nCmdShow) g_hinst, 0); #else - AdjustWindowRect(&rect, WS_SYSMENU/*|WS_MAXIMIZEBOX*/|WS_MINIMIZEBOX, false); + AdjustWindowRect(&rect, WS_OVERLAPPEDWINDOW, false); hWnd = CreateWindow(c_szClassName, WINDOWTITLE, - WS_SYSMENU/*|WS_MAXIMIZEBOX*/|WS_MINIMIZEBOX,CW_USEDEFAULT,CW_USEDEFAULT, + WS_OVERLAPPEDWINDOW,CW_USEDEFAULT,CW_USEDEFAULT, rect.right - rect.left, rect.bottom - rect.top, NULL, NULL,