[PATCH] wineconsole: Handle properly maximized window.

Roman Pišl rpisl at seznam.cz
Fri Mar 6 08:22:55 CST 2020


Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48706
Signed-off-by: Roman Pišl <rpisl at seznam.cz>
---
 programs/wineconsole/user.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/programs/wineconsole/user.c b/programs/wineconsole/user.c
index 5cc405d5b7..212c65cee4 100644
--- a/programs/wineconsole/user.c
+++ b/programs/wineconsole/user.c
@@ -1437,7 +1437,7 @@ enum init_return WCUSER_InitBackend(struct inner_data* data)
     RegisterClassW(&wndclass);
 
     data->hWnd = CreateWindowW(wndclass.lpszClassName, NULL,
-                               WS_OVERLAPPED|WS_CAPTION|WS_SYSMENU|WS_THICKFRAME|WS_MINIMIZEBOX|WS_HSCROLL|WS_VSCROLL,
+                               WS_OVERLAPPED|WS_CAPTION|WS_SYSMENU|WS_THICKFRAME|WS_MINIMIZEBOX|WS_MAXIMIZEBOX|WS_HSCROLL|WS_VSCROLL,
                                CW_USEDEFAULT, CW_USEDEFAULT, 0, 0, 0, 0, wndclass.hInstance, data);
     if (!data->hWnd) return init_not_supported;
 
-- 
2.20.1




More information about the wine-devel mailing list