Remove unnecessary WM_SETCURSOR handling from wf_event_proc
This commit is contained in:
parent
0c24ade668
commit
d8151c03df
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user