Patch from RDB: fix the failure to display window-resize pointers
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Fri, 7 Sep 2001 22:43:31 +0000 (22:43 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Fri, 7 Sep 2001 22:43:31 +0000 (22:43 +0000)
when in raw mouse mode.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1241 cda61777-01e9-0310-a592-d414129be87e

window.c

index 378634f..f097359 100644 (file)
--- a/window.c
+++ b/window.c
@@ -1961,7 +1961,7 @@ static LRESULT CALLBACK WndProc(HWND hwnd, UINT message,
        }
        return 0;
       case WM_SETCURSOR:
-       if (send_raw_mouse) {
+       if (send_raw_mouse && LOWORD(lParam) == HTCLIENT) {
            SetCursor(LoadCursor(NULL, IDC_ARROW));
            return TRUE;
        }