Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5a8b1e3dcd90a244d15db5bacdd54ba4bfd46bd7
      
https://github.com/WebKit/WebKit/commit/5a8b1e3dcd90a244d15db5bacdd54ba4bfd46bd7
  Author: tusooa <[email protected]>
  Date:   2026-04-27 (Mon, 27 Apr 2026)

  Changed paths:
    M Source/WebKit/UIProcess/API/wpe/qt6/WPEViewQtQuick.cpp

  Log Message:
  -----------
  Add preliminary cursor shape support for WPEQtView

https://bugs.webkit.org/show_bug.cgi?id=313305

Reviewed by Claudio Saavedra.

Add support for the stock pointer shapes that Qt supports.

Go to
https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/cursor
and verify you can see various cursor shapes applied.

* Source/WebKit/UIProcess/API/wpe/qt6/WPEViewQtQuick.cpp:
(webCursorNameToQCursor): Use a SortedArrayMap to find out the cursor shape.
(wpeViewQtQuickSetCursorFromName): Use QQuickItem::setCursor to set
cursor shape.
(wpe_view_qtquick_class_init): Implement set_cursor_from_name virtual method.

Canonical link: https://commits.webkit.org/312139@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to