meson: Clean up client_protocols
This commit is contained in:
parent
b5cfd43deb
commit
cc2779330f
11
meson.build
11
meson.build
@ -82,14 +82,13 @@ client_protos_src = []
|
|||||||
client_protos_headers = []
|
client_protos_headers = []
|
||||||
|
|
||||||
client_protocols = [
|
client_protocols = [
|
||||||
[wl_protocol_dir, 'stable/xdg-shell/xdg-shell.xml'],
|
wl_protocol_dir / 'stable/xdg-shell/xdg-shell.xml',
|
||||||
[wl_protocol_dir, 'staging/ext-session-lock/ext-session-lock-v1.xml'],
|
wl_protocol_dir / 'staging/ext-session-lock/ext-session-lock-v1.xml',
|
||||||
['wlr-layer-shell-unstable-v1.xml'],
|
'wlr-layer-shell-unstable-v1.xml',
|
||||||
['wlr-input-inhibitor-unstable-v1.xml'],
|
'wlr-input-inhibitor-unstable-v1.xml',
|
||||||
]
|
]
|
||||||
|
|
||||||
foreach p : client_protocols
|
foreach xml : client_protocols
|
||||||
xml = join_paths(p)
|
|
||||||
client_protos_src += wayland_scanner_code.process(xml)
|
client_protos_src += wayland_scanner_code.process(xml)
|
||||||
client_protos_headers += wayland_scanner_client.process(xml)
|
client_protos_headers += wayland_scanner_client.process(xml)
|
||||||
endforeach
|
endforeach
|
||||||
|
Loading…
Reference in New Issue
Block a user