Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: fb5171340ae0030f018e6faa66f5f1d191ea368c
https://github.com/WebKit/WebKit/commit/fb5171340ae0030f018e6faa66f5f1d191ea368c
Author: Claudio Saavedra <[email protected]>
Date: 2026-09-27 (Sun, 27 Sep 2026)
Changed paths:
M Source/WebKit/WPEPlatform/wpe/WPECursorTheme.cpp
M Source/WebKit/WPEPlatform/wpe/WPECursorTheme.h
M Source/WebKit/WPEPlatform/wpe/drm/WPEDRMCursor.cpp
M Source/WebKit/WPEPlatform/wpe/drm/WPEDRMCursor.h
M Source/WebKit/WPEPlatform/wpe/drm/WPEDRMSessionLogind.cpp
M Source/WebKit/WPEPlatform/wpe/drm/WPEDRMSessionLogind.h
M Source/WebKit/WPEPlatform/wpe/wayland/WPEInputMethodContextWaylandV3.cpp
M Source/WebKit/WPEPlatform/wpe/wayland/WPEToplevelWayland.cpp
M Source/WebKit/WPEPlatform/wpe/wayland/WPEWaylandCursor.cpp
M Source/WebKit/WPEPlatform/wpe/wayland/WPEWaylandCursor.h
Log Message:
-----------
[WPE] Type the cursor names, cursor theme directories and logind seat ID held
by WPEPlatform
https://bugs.webkit.org/show_bug.cgi?id=325404
Reviewed by Adrian Perez de Castro.
These were the last GUniquePtr<char> members holding text in WPEPlatform. The
logind seat ID is allocated by libsystemd, so GMallocString adopts it as it is
and hands out utf8() where the C API needs the pointer. The cursor name is a
copy of the caller's UTF8CStringView and the cursor theme directories are
copied out of g_build_filename() results, so they become UTF8CString; the
inherited theme directories live in a Vector, which GMallocString cannot do
because it forbids heap allocation.
The two cursor files and two Wayland files relied on the cursor headers for
GUniquePtr.h and glib.h; they now include what they use.
Canonical link: https://commits.webkit.org/322032@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications