Commit 233617d086f2743191b0c0aec864ab8c3a1442a9

Ran Benita 2023-01-02T21:10:45

build: fix wayland-scanner deprecation code -> private-code Signed-off-by: Ran Benita <ran@unusedvar.com>

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/meson.build b/meson.build
index 6fe391b..036888e 100644
--- a/meson.build
+++ b/meson.build
@@ -486,7 +486,7 @@ You can disable the Wayland xkbcli programs with -Denable-wayland=false.''')
         wayland_scanner_code_gen = generator(
             wayland_scanner,
             output: '@BASENAME@-protocol.c',
-            arguments: ['code', '@INPUT@', '@OUTPUT@'],
+            arguments: ['private-code', '@INPUT@', '@OUTPUT@'],
         )
         wayland_scanner_client_header_gen = generator(
             wayland_scanner,