mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-09 03:38:03 +02:00
Some clients like the mpv video player now request the xdg_shell protocol so these will fail if the compositor only provides the xdg_shell_unstable_v6 protocol. Compositors like mir and gnome provide both protocols. The two protocols are very similar therefore the code in xdg-shell-v6.c has been refactored to work with the new xdg_shell protocol and now resides in xdg-shell.c. Pekka: - split the patch - fix continued line alignment Daniel - allow anchor_rect to initially have zero dimensions - account for get_popup allowing NULL parent surface Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com> Signed-off-by: Daniel Stone <daniels@collabora.com>
38 lines
1,012 B
Meson
38 lines
1,012 B
Meson
srcs_libdesktop = [
|
|
'libweston-desktop.c',
|
|
'client.c',
|
|
'seat.c',
|
|
'surface.c',
|
|
'xwayland.c',
|
|
'wl-shell.c',
|
|
'xdg-shell.c',
|
|
'xdg-shell-v6.c',
|
|
xdg_shell_unstable_v6_server_protocol_h,
|
|
xdg_shell_unstable_v6_protocol_c,
|
|
xdg_shell_server_protocol_h,
|
|
xdg_shell_protocol_c,
|
|
]
|
|
lib_desktop = shared_library(
|
|
'weston-desktop-@0@'.format(libweston_major),
|
|
srcs_libdesktop,
|
|
include_directories: include_directories('..', '../shared'),
|
|
install: true,
|
|
version: '0.0.@0@'.format(libweston_revision),
|
|
dependencies: dep_libweston
|
|
)
|
|
dep_lib_desktop = declare_dependency(
|
|
link_with: lib_desktop,
|
|
dependencies: dep_libweston
|
|
)
|
|
|
|
install_headers('libweston-desktop.h', subdir: dir_include_libweston)
|
|
|
|
pkgconfig.generate(
|
|
lib_desktop,
|
|
filebase: 'libweston-desktop-@0@'.format(libweston_major),
|
|
name: 'libweston-desktop',
|
|
version: version_weston,
|
|
description: 'Desktop shells abstraction library for libweston compositors',
|
|
requires_private: [ lib_weston, dep_wayland_server ],
|
|
subdirs: dir_include_libweston
|
|
)
|