weston/libweston/desktop/meson.build
Marius Vlad 3bd0367970 xdg-shell-v6: Deprecate in favor of xdg-shell stable
For obvious reasons, use xdg-shell stable, most of the issues resolves
adding the same functionality or fixing bugs as we do it with the stable
xdg-shell version.

Deprecate it prior to removal to warn users about using it.

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
2026-05-08 13:02:13 +03:00

22 lines
501 B
Meson

srcs_libweston += files([
'libweston-desktop.c',
'client.c',
'seat.c',
'surface.c',
'xwayland.c',
'xdg-shell.c',
])
srcs_libweston += [
xdg_shell_server_protocol_h,
xdg_shell_protocol_c,
]
if get_option('deprecated-xdg-shell-v6-unstable')
warning('deprecated-xdg-shell-v6-unstable enabled. This will be removed in future versions.')
srcs_libweston += files([ 'xdg-shell-v6.c' ])
srcs_libweston += [
xdg_shell_unstable_v6_server_protocol_h,
xdg_shell_unstable_v6_protocol_c
]
endif