Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3ca4cf415e283ccf14be4b57a9a6773374070304
      
https://github.com/WebKit/WebKit/commit/3ca4cf415e283ccf14be4b57a9a6773374070304
  Author: Nikolas Zimmermann <[email protected]>
  Date:   2026-09-15 (Tue, 15 Sep 2026)

  Changed paths:
    M Source/WebKit/WPEPlatform/docs/migrating-from-libwpe.md
    M Source/WebKit/WPEPlatform/docs/migration-mapping.md
    M Source/WebKit/WPEPlatform/docs/tutorial-browser.md

  Log Message:
  -----------
  [WPE] Fix web view creation and code snippets in WPEPlatform migration docs
https://bugs.webkit.org/show_bug.cgi?id=324174

Reviewed by Carlos Garcia Campos.

webkit_web_view_new() does exist in builds with the legacy libwpe API,
so explain how to migrate calls to it. wpe_display_wayland_new() returns
a WPEDisplay, so the snippet assigning it to a WPEDisplayWayland needs a
cast. libwpe input was dispatched by the application, not handled by
overriding dispatch methods. Do not point to WPEKeysyms.h, which cannot
be included directly. Setting WPE_DISPLAY forces a platform and aborts
on failure, it does not help when no platform can connect.

* Source/WebKit/WPEPlatform/docs/migrating-from-libwpe.md:
* Source/WebKit/WPEPlatform/docs/migration-mapping.md:
* Source/WebKit/WPEPlatform/docs/tutorial-browser.md:

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



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

Reply via email to