From dba56f02fecfd57593e4d473385b43710fa556bf Mon Sep 17 00:00:00 2001
From: Toni Spets <toni.spets@iki.fi>
Date: Mon, 25 Oct 2010 19:58:36 +0300
Subject: [PATCH] Remove sysmenu and close button, they just can't work

---
 main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main.c b/main.c
index 5c67306..3f9585b 100644
--- a/main.c
+++ b/main.c
@@ -287,7 +287,7 @@ HRESULT __stdcall ddraw_SetDisplayMode(IDirectDrawImpl *This, DWORD width, DWORD
 
     mouse_unlock();
 
-    SetWindowLong(This->hWnd, GWL_STYLE, GetWindowLong(This->hWnd, GWL_STYLE) | WS_CAPTION | WS_BORDER | WS_SYSMENU /*| WS_MINIMIZEBOX*/);
+    SetWindowLong(This->hWnd, GWL_STYLE, GetWindowLong(This->hWnd, GWL_STYLE) | WS_CAPTION | WS_BORDER);
 
     /* center the window with correct dimensions */
     int x = (mode.dmPelsWidth / 2) - (This->width / 2);