Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 533420b4dcae5d17e8e5323e8444f7e1ba94232e
https://github.com/WebKit/WebKit/commit/533420b4dcae5d17e8e5323e8444f7e1ba94232e
Author: Abrar Rahman Protyasha <[email protected]>
Date: 2026-08-26 (Wed, 26 Aug 2026)
Changed paths:
M Source/WebKit/PlatformCocoa.cmake
M Source/WebKit/UIProcess/mac/AppKitGestures/WKAppKitGestureController.mm
A
Source/WebKit/UIProcess/mac/AppKitGestures/WKMouseTrackingGestureRecognizer.swift
M Source/WebKit/WebKit.xcodeproj/project.pbxproj
Log Message:
-----------
[AppKit Gestures] Support mouse tracking with multiple gesture recognizers
https://bugs.webkit.org/show_bug.cgi?id=322554
rdar://185838964
Reviewed by Richard Robinson.
There are multiple conflicting configurations in which we would like
mouse tracking to be active, and it is not feasible to alter certain
gesture recognizer properties between .began and .ended. To work around
this, we teach WKAppKitGestureController to hold a set of recognizers
instead.
The bulk of the new state (and associated coordination) is to ensure a
gesture handoff is correct if gesture recognition criteria changes such
that the currently active tracking recognizer gives way to a different
tracking recognizer. As a drive-by, we also fix an existing issue where
mouseUp events were not dispatched on every terminal state.
The delegate rules that referred to the single recognizer are now
generalized over the set, and simultaneity is granted (like before)
against the pan, magnification, rotation and double-click recognizers,
and between the tracking recognizers themselves.
Canonical link: https://commits.webkit.org/319879@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications