Skip to content
  • Emil Velikov's avatar
    wayland: Add support for xdg-shell stable · 71d46212
    Emil Velikov authored and Emil Velikov's avatar Emil Velikov committed
    
    
    The unstable wl_shell protocol has gone through number of revisions and
    has been promoted as stable/xdg-shell. The old protocol is deprecated.
    
    Add support for the new protocol alongside the existing wl_shell. This
    way things will just work, for compositors supporting either and/or
    both.
    
    Initial patch from Scott Moreau and Simon Zen, with a handful of fixes
    from your truly:
    
    - Keep wl_shell alongside xdg-shell.
    - Require wayland-protocols v1.12 - introduces xdg-shell
    - Remove protocol hack/patching
    - Coding style improvements and #include fixes
    - Don't fetch symbols from libwayland-server
    - cmake: Wire up the build
    - meson: Keep meson_version as-is
    - meson: Keep wayland-client dependency handling as-is
    - meson: Ensure wayland autodetection works
    - meson: Move generators into src/waffle/meson.build
    
    v2:
    - Add wayland-protocols to the CI, bump the CI tag
    
    v3:
    - meson: evaluate wayland deps, only when found
    
    v4:
    - use pkg-config variables for xml location
    - rebase on top of -fno-common changes
    - preserve wl_shell API
    - split build specifics in prep patch
    - document the old/new shell/surfaces
    
    Co-developed-by: default avatarScott Moreau <oreaus@gmail.com>
    Co-developed-by: Simon Zeni's avatarSimon Zeni <simon@bl4ckb0ne.ca>
    Signed-off-by: default avatarEmil Velikov <emil.velikov@collabora.com>
    71d46212