Cursor doesn't change back to pointer when leaving Mail
[WebKit-https.git] / Source / WebKit2 / UIProcess / mac / PageClientImpl.mm
index 17a9291cd79c7818b94361933e79ef6c42214bfd..3bdf5b551d1c9e4b7fecf0d693020533b6da4a0a 100644 (file)
@@ -627,7 +627,7 @@ void PageClientImpl::recordAutocorrectionResponse(AutocorrectionResponseType res
 void PageClientImpl::recommendedScrollbarStyleDidChange(ScrollbarStyle newStyle)
 {
     // Now re-create a tracking area with the appropriate options given the new scrollbar style
-    NSTrackingAreaOptions options = NSTrackingMouseMoved | NSTrackingMouseEnteredAndExited | NSTrackingInVisibleRect;
+    NSTrackingAreaOptions options = NSTrackingMouseMoved | NSTrackingMouseEnteredAndExited | NSTrackingInVisibleRect | NSTrackingCursorUpdate;
     if (newStyle == ScrollbarStyle::AlwaysVisible)
         options |= NSTrackingActiveAlways;
     else