aboutsummaryrefslogtreecommitdiffstats
path: root/protocols
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2018-03-27 15:25:25 -0400
committerLibravatar Drew DeVault <sir@cmpwn.com>2018-03-28 14:25:19 -0400
commit632bb948b7ffbb08a6e965dabf88347afd0a1fa8 (patch)
treecbd9d4e4e3a7c605d2b0a5e3e66ce35554a74c4b /protocols
parentAdd client protocols and swaybg skeleton (diff)
downloadsway-632bb948b7ffbb08a6e965dabf88347afd0a1fa8.tar.gz
sway-632bb948b7ffbb08a6e965dabf88347afd0a1fa8.tar.zst
sway-632bb948b7ffbb08a6e965dabf88347afd0a1fa8.zip
Add solid-color rendering to swaybg
Diffstat (limited to 'protocols')
-rw-r--r--protocols/meson.build18
1 files changed, 3 insertions, 15 deletions
diff --git a/protocols/meson.build b/protocols/meson.build
index 73a6fda5..1fda600e 100644
--- a/protocols/meson.build
+++ b/protocols/meson.build
@@ -2,12 +2,6 @@ wl_protocol_dir = wayland_protos.get_pkgconfig_variable('pkgdatadir')
2 2
3wayland_scanner = find_program('wayland-scanner') 3wayland_scanner = find_program('wayland-scanner')
4 4
5wayland_scanner_server = generator(
6 wayland_scanner,
7 output: '@BASENAME@-protocol.h',
8 arguments: ['server-header', '@INPUT@', '@OUTPUT@'],
9)
10
11wayland_scanner_code = generator( 5wayland_scanner_code = generator(
12 wayland_scanner, 6 wayland_scanner,
13 output: '@BASENAME@-protocol.c', 7 output: '@BASENAME@-protocol.c',
@@ -20,10 +14,9 @@ wayland_scanner_client = generator(
20 arguments: ['client-header', '@INPUT@', '@OUTPUT@'], 14 arguments: ['client-header', '@INPUT@', '@OUTPUT@'],
21) 15)
22 16
23protocols = [] 17protocols = [
24 18 [wl_protocol_dir, 'stable/xdg-shell/xdg-shell.xml'],
25client_protocols = [ 19 ['wlr-layer-shell-unstable-v1.xml']
26 'wlr-layer-shell-unstable-v1.xml',
27] 20]
28 21
29wl_protos_src = [] 22wl_protos_src = []
@@ -32,11 +25,6 @@ wl_protos_headers = []
32foreach p : protocols 25foreach p : protocols
33 xml = join_paths(p) 26 xml = join_paths(p)
34 wl_protos_src += wayland_scanner_code.process(xml) 27 wl_protos_src += wayland_scanner_code.process(xml)
35 wl_protos_headers += wayland_scanner_server.process(xml)
36endforeach
37
38foreach p : client_protocols
39 xml = join_paths(p)
40 wl_protos_headers += wayland_scanner_client.process(xml) 28 wl_protos_headers += wayland_scanner_client.process(xml)
41endforeach 29endforeach
42 30