Changeset 182026 in webkit
- Timestamp:
- Mar 26, 2015 2:43:21 PM (9 years ago)
- Location:
- trunk/Source
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/mac/ChangeLog
r181906 r182026 1 2015-03-26 Ryosuke Niwa <rniwa@webkit.org> 2 3 Cursor doesn't change back to pointer when leaving Mail 4 https://bugs.webkit.org/show_bug.cgi?id=132038 5 6 Reviewed by Anders Carlsson. 7 8 Fixed the bug by adding a cursor rect and making the primary tracking area update the cursor so that 9 AppKit will reset the cursor as it leaves the WebView. 10 11 We use nil cursor here since we manually update the cursor by calling [NSCursor set]. 12 13 * WebView/WebHTMLView.mm: 14 (-[WebHTMLView setDataSource:]): Use NSTrackingCursorUpdate option in creating the primary tracking area. 15 1 16 2015-03-24 Anders Carlsson <andersca@apple.com> 2 17 -
trunk/Source/WebKit/mac/WebView/WebHTMLView.mm
r181760 r182026 4227 4227 #if !PLATFORM(IOS) 4228 4228 if (!_private->installedTrackingArea) { 4229 NSTrackingAreaOptions options = NSTrackingMouseMoved | NSTrackingMouseEnteredAndExited | NSTrackingInVisibleRect ;4229 NSTrackingAreaOptions options = NSTrackingMouseMoved | NSTrackingMouseEnteredAndExited | NSTrackingInVisibleRect | NSTrackingCursorUpdate; 4230 4230 if (WKRecommendedScrollerStyle() == NSScrollerStyleLegacy 4231 4231 #if ENABLE(DASHBOARD_SUPPORT) -
trunk/Source/WebKit2/ChangeLog
r182021 r182026 1 2015-03-26 Ryosuke Niwa <rniwa@webkit.org> 2 3 Cursor doesn't change back to pointer when leaving Mail 4 https://bugs.webkit.org/show_bug.cgi?id=132038 5 6 Reviewed by Anders Carlsson. 7 8 Fixed the bug by adding a cursor rect and making the primary tracking area update the cursor so that 9 AppKit will reset the cursor as it leaves the WebView. 10 11 We use nil cursor here since we manually update the cursor by calling [NSCursor set]. 12 13 * UIProcess/API/mac/WKView.mm: 14 (-[WKView initWithFrame:processPool:configuration:webView:]): 15 * UIProcess/mac/PageClientImpl.mm: 16 (WebKit::PageClientImpl::recommendedScrollbarStyleDidChange): 17 1 18 2015-03-26 Michael Catanzaro <mcatanzaro@igalia.com> 2 19 -
trunk/Source/WebKit2/UIProcess/API/mac/WKView.mm
r181985 r182026 3724 3724 3725 3725 // Legacy style scrollbars have design details that rely on tracking the mouse all the time. 3726 NSTrackingAreaOptions options = NSTrackingMouseMoved | NSTrackingMouseEnteredAndExited | NSTrackingInVisibleRect ;3726 NSTrackingAreaOptions options = NSTrackingMouseMoved | NSTrackingMouseEnteredAndExited | NSTrackingInVisibleRect | NSTrackingCursorUpdate; 3727 3727 if (WKRecommendedScrollerStyle() == NSScrollerStyleLegacy) 3728 3728 options |= NSTrackingActiveAlways; -
trunk/Source/WebKit2/UIProcess/mac/PageClientImpl.mm
r181777 r182026 628 628 { 629 629 // Now re-create a tracking area with the appropriate options given the new scrollbar style 630 NSTrackingAreaOptions options = NSTrackingMouseMoved | NSTrackingMouseEnteredAndExited | NSTrackingInVisibleRect ;630 NSTrackingAreaOptions options = NSTrackingMouseMoved | NSTrackingMouseEnteredAndExited | NSTrackingInVisibleRect | NSTrackingCursorUpdate; 631 631 if (newStyle == ScrollbarStyle::AlwaysVisible) 632 632 options |= NSTrackingActiveAlways;
Note: See TracChangeset
for help on using the changeset viewer.