1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-03-16 12:03:03 -05:00

Patch from RDB: fix the failure to display window-resize pointers

when in raw mouse mode.

[originally from svn r1241]
This commit is contained in:
Simon Tatham 2001-09-07 22:43:31 +00:00
parent 0a2950f834
commit e1ecb1c61e

View File

@ -1961,7 +1961,7 @@ static LRESULT CALLBACK WndProc(HWND hwnd, UINT message,
} }
return 0; return 0;
case WM_SETCURSOR: case WM_SETCURSOR:
if (send_raw_mouse) { if (send_raw_mouse && LOWORD(lParam) == HTCLIENT) {
SetCursor(LoadCursor(NULL, IDC_ARROW)); SetCursor(LoadCursor(NULL, IDC_ARROW));
return TRUE; return TRUE;
} }