build: fix wayland-scanner deprecation code -> private-code
authorRan Benita <ran@unusedvar.com>
Mon, 2 Jan 2023 19:10:45 +0000 (21:10 +0200)
committerRan Benita <ran@unusedvar.com>
Mon, 2 Jan 2023 19:10:45 +0000 (21:10 +0200)
Signed-off-by: Ran Benita <ran@unusedvar.com>
meson.build

index 6fe391b..036888e 100644 (file)
@@ -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,