![Jonas Ådahl](/assets/img/avatar_default.png)
This protocol is intended to let special clients create transient-for relationships between X11 and Wayland windows. The client that needs this is xdg-desktop-portal-gnome, which will create e.g. file chooser Wayland dialogs that should be mapped on top of X11 windows. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2810>
102 lines
1.9 KiB
Meson
102 lines
1.9 KiB
Meson
wayland_test_client_installed_tests_libexecdir = join_paths(
|
|
mutter_installed_tests_libexecdir,
|
|
'wayland-test-clients',
|
|
)
|
|
|
|
wayland_test_client_sources = files([
|
|
'wayland-test-client-utils.c',
|
|
'wayland-test-client-utils.h',
|
|
])
|
|
|
|
wayland_test_client_utils = [
|
|
wayland_test_client_sources,
|
|
wayland_protocol_client_headers,
|
|
wayland_protocol_sources,
|
|
test_driver_client_header,
|
|
test_driver_protocol_code,
|
|
]
|
|
|
|
wayland_test_clients = [
|
|
{
|
|
'name': 'buffer-transform',
|
|
},
|
|
{
|
|
'name': 'single-pixel-buffer',
|
|
},
|
|
{
|
|
'name': 'subsurface-remap-toplevel',
|
|
},
|
|
{
|
|
'name': 'subsurface-reparenting',
|
|
},
|
|
{
|
|
'name': 'subsurface-parent-unmapped',
|
|
},
|
|
{
|
|
'name': 'invalid-subsurfaces',
|
|
},
|
|
{
|
|
'name': 'invalid-xdg-shell-actions',
|
|
},
|
|
{
|
|
'name': 'xdg-apply-limits',
|
|
},
|
|
{
|
|
'name': 'xdg-activation',
|
|
},
|
|
{
|
|
'name': 'xdg-foreign',
|
|
},
|
|
{
|
|
'name': 'xdg-toplevel-bounds',
|
|
},
|
|
{
|
|
'name': 'fullscreen',
|
|
},
|
|
{
|
|
'name': 'dma-buf-scanout',
|
|
'extra_deps': [
|
|
libdrm_dep,
|
|
libgbm_dep,
|
|
],
|
|
},
|
|
{
|
|
'name': 'service-client',
|
|
'extra_sources': [
|
|
built_dbus_sources['meta-dbus-service-channel'],
|
|
],
|
|
'extra_deps': [
|
|
gio_unix_dep,
|
|
],
|
|
},
|
|
]
|
|
|
|
foreach test : wayland_test_clients
|
|
test_name = test['name']
|
|
deps = [
|
|
glib_dep,
|
|
gobject_dep,
|
|
wayland_client_dep,
|
|
]
|
|
if test.has_key('extra_deps')
|
|
deps += test['extra_deps']
|
|
endif
|
|
|
|
test_client_sources = [
|
|
'@0@.c'.format(test_name),
|
|
wayland_test_client_utils,
|
|
]
|
|
if test.has_key('extra_sources')
|
|
test_client_sources += test['extra_sources']
|
|
endif
|
|
|
|
executable(test_name,
|
|
sources: test_client_sources,
|
|
include_directories: tests_includes,
|
|
c_args: tests_c_args,
|
|
dependencies: deps,
|
|
install: have_installed_tests,
|
|
install_dir: wayland_test_client_installed_tests_libexecdir,
|
|
)
|
|
endforeach
|