[webkit-changes] [WebKit/WebKit] 2dc61a: [WPE] Support the stable xdg_shell protocol in Win...

Žan Doberšek noreply at github.com
Fri Oct 28 04:16:09 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2dc61a55832a0a6e75c963cd3805ab645c5dad7c
      https://github.com/WebKit/WebKit/commit/2dc61a55832a0a6e75c963cd3805ab645c5dad7c
  Author: Žan Doberšek <zdobersek at igalia.com>
  Date:   2022-10-28 (Fri, 28 Oct 2022)

  Changed paths:
    M Tools/wpe/backends/PlatformWPE.cmake
    M Tools/wpe/backends/fdo/WindowViewBackend.cpp
    M Tools/wpe/backends/fdo/WindowViewBackend.h

  Log Message:
  -----------
  [WPE] Support the stable xdg_shell protocol in WindowViewBackend
https://bugs.webkit.org/show_bug.cgi?id=247176

Reviewed by Carlos Garcia Campos.

Have WPE's WindowViewBackend support the stable xdg_shell protocol, implementing
it alongside the support for the unstable variant of that protocol. The stable
variant is preferred, if available.

The relevant protocol files are generated and included in the build. The shell
objects and listeners are reorganized into two separate structs. The differences
between the two variants are not big, main problem is just the different set
of types and functions being used.

* Tools/wpe/backends/PlatformWPE.cmake:
* Tools/wpe/backends/fdo/WindowViewBackend.cpp:
(WPEToolingBackends::WindowViewBackend::onDOMFullscreenRequest):
(WPEToolingBackends::WindowViewBackend::WindowViewBackend):
(WPEToolingBackends::WindowViewBackend::~WindowViewBackend):
* Tools/wpe/backends/fdo/WindowViewBackend.h:

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




More information about the webkit-changes mailing list