Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 53f4089bebab12cf7a6573394ebcf8bee44bd51d
https://github.com/WebKit/WebKit/commit/53f4089bebab12cf7a6573394ebcf8bee44bd51d
Author: Abrar Rahman Protyasha <[email protected]>
Date: 2025-08-05 (Tue, 05 Aug 2025)
Changed paths:
M Source/WebKit/UIProcess/WebPageProxy.cpp
M Source/WebKit/UIProcess/WebPageProxy.h
M Source/WebKit/UIProcess/ios/WebPageProxyIOS.mm
Log Message:
-----------
[iOS] Pointer lock should be gated behind mouse availability
https://bugs.webkit.org/show_bug.cgi?id=296923
rdar://157543756
Reviewed by Aditya Keerthi.
It does not really make sense to switch into pointer lock if a pointing
device is not connected. In this patch, we use the WKMouseDeviceObserver
instance in the UI process to deny pointer lock requests if no pointing
device is available.
* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::requestPointerLock):
* Source/WebKit/UIProcess/WebPageProxy.h:
* Source/WebKit/UIProcess/ios/WebPageProxyIOS.mm:
(WebKit::WebPageProxy::platformPointerLock):
Canonical link: https://commits.webkit.org/298248@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes