<rdar://problem/5097419> Cursor flickers when over window resizer
authorsfalken@apple.com <sfalken@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 17 Jan 2008 02:53:13 +0000 (02:53 +0000)
committersfalken@apple.com <sfalken@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 17 Jan 2008 02:53:13 +0000 (02:53 +0000)
        Reviewed by Sam.

        * WebView.cpp:
        (WebViewWndProc): Don't set the resize cursor when over the non-border resize area.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@29551 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKit/win/ChangeLog
WebKit/win/WebView.cpp

index b9e8a12299eea0558b8fe78c7b68791c21cd368d..a0cecfe890106593b1d13d9fbcacd996db1ac073 100644 (file)
@@ -1,3 +1,12 @@
+2008-01-16  Steve Falkenburg  <sfalken@apple.com>
+
+        <rdar://problem/5097419> Cursor flickers when over window resizer
+        
+        Reviewed by Sam.
+
+        * WebView.cpp:
+        (WebViewWndProc): Don't set the resize cursor when over the non-border resize area.
+
 2008-01-15  Steve Falkenburg  <sfalken@apple.com>
 
         <rdar://problem/5663888> Cannot type into a JavaScript prompt created from a timer
 2008-01-15  Steve Falkenburg  <sfalken@apple.com>
 
         <rdar://problem/5663888> Cannot type into a JavaScript prompt created from a timer
index 6b8eac294fefd18ebddae9697ce0fc1b16dbfce2..fa4d0aa86fac6a028913c9a7bcc70446ac5a11a5 100644 (file)
@@ -1596,9 +1596,6 @@ static LRESULT CALLBACK WebViewWndProc(HWND hWnd, UINT message, WPARAM wParam, L
             webView->revokeDragDrop();
             break;
         case WM_MOUSEMOVE:
             webView->revokeDragDrop();
             break;
         case WM_MOUSEMOVE:
-            if (webView->inResizer(lParam))
-                SetCursor(LoadCursor(0, IDC_SIZENWSE));
-            // fall through
         case WM_LBUTTONDOWN:
         case WM_MBUTTONDOWN:
         case WM_RBUTTONDOWN:
         case WM_LBUTTONDOWN:
         case WM_MBUTTONDOWN:
         case WM_RBUTTONDOWN: