Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 141c440e3b1ae8d55acaf1d0f92eb6d892891365
https://github.com/WebKit/WebKit/commit/141c440e3b1ae8d55acaf1d0f92eb6d892891365
Author: Siwei Li <[email protected]>
Date: 2024-08-21 (Wed, 21 Aug 2024)
Changed paths:
M Source/WebKit/UIProcess/API/glib/WebKitWebView.cpp
M Source/WebKit/UIProcess/API/wpe/WPEWebView.h
M Source/WebKit/UIProcess/API/wpe/WPEWebViewPlatform.cpp
M Source/WebKit/UIProcess/API/wpe/WPEWebViewPlatform.h
M Source/WebKit/WPEPlatform/wpe/WPEView.cpp
M Source/WebKit/WPEPlatform/wpe/WPEView.h
M Source/WebKit/WPEPlatform/wpe/wayland/CMakeLists.txt
M Source/WebKit/WPEPlatform/wpe/wayland/WPEDisplayWayland.cpp
M Source/WebKit/WPEPlatform/wpe/wayland/WPEDisplayWaylandPrivate.h
M Source/WebKit/WPEPlatform/wpe/wayland/WPEViewWayland.cpp
M Source/WebKit/WPEPlatform/wpe/wayland/WPEWaylandSeat.h
Log Message:
-----------
[WPE] WPE Platform: add support for pointer lock
https://bugs.webkit.org/show_bug.cgi?id=265648
Reviewed by Carlos Garcia Campos.
Pointer lock requests from WebKit are sent to the platform, where we check
if pointer constraints and relative pointer protocols are available in
the Wayland implementation, then the pointer is locked and a corresponding
WPEEvent emitted.
* Source/WebKit/UIProcess/API/glib/WebKitWebView.cpp:
(webkitWebViewRequestPointerLock):
(webkitWebViewDidLosePointerLock):
* Source/WebKit/UIProcess/API/wpe/WPEWebView.h:
(WKWPE::View::requestPointerLock):
(WKWPE::View::didLosePointerLock):
* Source/WebKit/UIProcess/API/wpe/WPEWebViewPlatform.cpp:
(WKWPE::ViewPlatform::requestPointerLock):
(WKWPE::ViewPlatform::didLosePointerLock):
* Source/WebKit/UIProcess/API/wpe/WPEWebViewPlatform.h:
* Source/WebKit/WPEPlatform/wpe/WPEView.cpp:
(wpe_view_lock_pointer):
(wpe_view_unlock_pointer):
* Source/WebKit/WPEPlatform/wpe/WPEView.h:
* Source/WebKit/WPEPlatform/wpe/wayland/CMakeLists.txt:
* Source/WebKit/WPEPlatform/wpe/wayland/WPEDisplayWayland.cpp:
(wpeDisplayWaylandDispose):
(wpeDisplayWaylandGetPointerConstraints):
(wpeDisplayWaylandGetRelativePointerManager):
* Source/WebKit/WPEPlatform/wpe/wayland/WPEDisplayWaylandPrivate.h:
* Source/WebKit/WPEPlatform/wpe/wayland/WPEViewWayland.cpp:
(wpeViewWaylandDispose):
(wpeViewWaylandUnlockPointer):
(wpe_view_wayland_class_init):
* Source/WebKit/WPEPlatform/wpe/wayland/WPEWaylandSeat.h:
(WPE::WaylandSeat::pointerModifiers const):
(WPE::WaylandSeat::pointerCoords const):
Canonical link: https://commits.webkit.org/282558@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