From d8151c03dffcedc853f93e474974b85c104324ab Mon Sep 17 00:00:00 2001 From: Eric Brown Date: Mon, 5 Mar 2018 12:32:42 -0600 Subject: [PATCH] Remove unnecessary WM_SETCURSOR handling from wf_event_proc --- client/Windows/wf_event.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/client/Windows/wf_event.c b/client/Windows/wf_event.c index fbb214f18..d3588a466 100644 --- a/client/Windows/wf_event.c +++ b/client/Windows/wf_event.c @@ -566,14 +566,6 @@ LRESULT CALLBACK wf_event_proc(HWND hWnd, UINT Msg, WPARAM wParam, PostQuitMessage(WM_QUIT); break; - case WM_SETCURSOR: - if (wfc && LOWORD(lParam) == HTCLIENT) - SetCursor(wfc->hDefaultCursor); - else - DefWindowProc(hWnd, Msg, wParam, lParam); - - break; - case WM_SETFOCUS: DEBUG_KBD("getting focus %X", hWnd);