refactoring protocol build and shm_buffer

This commit is contained in:
Raphael Robatsch
2021-10-27 17:24:47 +02:00
parent d5c4349a3f
commit dfae73b1c5
3 changed files with 38 additions and 34 deletions

View File

@@ -11,15 +11,12 @@ wayland_scanner_client = generator(
output: '@BASENAME@-client-protocol.h',
arguments: ['client-header', '@INPUT@', '@OUTPUT@'])
wayland_xmls = [
wl_protocol_dir + '/stable/xdg-shell/xdg-shell.xml',
'wlr-layer-shell-unstable-v1.xml',
'net-tapesoftware-dwl-wm-unstable-v1.xml',
]
wayland_sources = [
wayland_scanner_code.process(
wl_protocol_dir + '/stable/xdg-shell/xdg-shell.xml',
'wlr-layer-shell-unstable-v1.xml',
'net-tapesoftware-dwl-wm-unstable-v1.xml'
),
wayland_scanner_client.process(
wl_protocol_dir + '/stable/xdg-shell/xdg-shell.xml',
'wlr-layer-shell-unstable-v1.xml',
'net-tapesoftware-dwl-wm-unstable-v1.xml'
),
]
wayland_scanner_code.process(wayland_xmls),
wayland_scanner_client.process(wayland_xmls),
]