From 4fb5da75dcd52d6844512b0441763c34745a2496 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Tue, 8 Apr 2014 21:16:48 +0200 Subject: [PATCH] Consume WM_ERASEBKGND. --- src/win32_window.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/win32_window.c b/src/win32_window.c index e6a6e13d..760d796d 100644 --- a/src/win32_window.c +++ b/src/win32_window.c @@ -733,6 +733,11 @@ static LRESULT CALLBACK windowProc(HWND hWnd, UINT uMsg, break; } + case WM_ERASEBKGND: + { + return TRUE; + } + case WM_SETCURSOR: { if (_glfw.focusedWindow == window && LOWORD(lParam) == HTCLIENT)