From cc2779330f3357cc5810b0079fd4460d65779a6d Mon Sep 17 00:00:00 2001 From: Alexander Orzechowski Date: Sat, 24 Sep 2022 06:51:19 -0400 Subject: [PATCH] meson: Clean up client_protocols --- meson.build | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/meson.build b/meson.build index caab139..c00bc7f 100644 --- a/meson.build +++ b/meson.build @@ -82,14 +82,13 @@ client_protos_src = [] client_protos_headers = [] client_protocols = [ - [wl_protocol_dir, 'stable/xdg-shell/xdg-shell.xml'], - [wl_protocol_dir, 'staging/ext-session-lock/ext-session-lock-v1.xml'], - ['wlr-layer-shell-unstable-v1.xml'], - ['wlr-input-inhibitor-unstable-v1.xml'], + wl_protocol_dir / 'stable/xdg-shell/xdg-shell.xml', + wl_protocol_dir / 'staging/ext-session-lock/ext-session-lock-v1.xml', + 'wlr-layer-shell-unstable-v1.xml', + 'wlr-input-inhibitor-unstable-v1.xml', ] -foreach p : client_protocols - xml = join_paths(p) +foreach xml : client_protocols client_protos_src += wayland_scanner_code.process(xml) client_protos_headers += wayland_scanner_client.process(xml) endforeach