From 3d338637f276c380b27da7bd1c477646e3c17d1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20Martign=C3=A8ne?= Date: Fri, 19 Nov 2021 10:30:07 +0100 Subject: [PATCH] Try to fix "CreateWindow() failed: operation succeeded" problem --- src/libhs/monitor_win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libhs/monitor_win32.c b/src/libhs/monitor_win32.c index ea689f0..ff98703 100644 --- a/src/libhs/monitor_win32.c +++ b/src/libhs/monitor_win32.c @@ -1241,7 +1241,7 @@ static LRESULT __stdcall window_proc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM } break; } - return DefWindowProc(hwnd, msg, wparam, lparam); + return DefWindowProcA(hwnd, msg, wparam, lparam); } static void unregister_monitor_class(void)