Skip to content
Permalink
Browse files

Replace wayland-scanner private-code option with code

  • Loading branch information...
wmww authored and lukefromdc committed Dec 17, 2018
1 parent 3e73d66 commit 9b8511a811ccb947015ddd4fe980be65c63e3faa
Showing with 4 additions and 2 deletions.
  1. +4 −2 mate-panel/wayland-protocols/Makefile.am
@@ -4,12 +4,14 @@ all: wlr-layer-shell-unstable-v1-client-protocol.h wlr-layer-shell-unstable-v1-p
wlr-layer-shell-unstable-v1-client-protocol.h: wlr-layer-shell-unstable-v1.xml
wayland-scanner -c client-header wlr-layer-shell-unstable-v1.xml wlr-layer-shell-unstable-v1-client-protocol.h

# 'code' is depricated, and can be replaced with 'private-code' when all platforms have a new enough wayland-scanner
wlr-layer-shell-unstable-v1-protocol.c: wlr-layer-shell-unstable-v1.xml
wayland-scanner -c private-code wlr-layer-shell-unstable-v1.xml wlr-layer-shell-unstable-v1-protocol.c
wayland-scanner -c code wlr-layer-shell-unstable-v1.xml wlr-layer-shell-unstable-v1-protocol.c

xdg-shell-client-protocol.h: xdg-shell.xml
wayland-scanner -c client-header xdg-shell.xml xdg-shell-client-protocol.h

# 'code' is depricated, and can be replaced with 'private-code' when all platforms have a new enough wayland-scanner
xdg-shell-protocol.c: xdg-shell.xml
wayland-scanner -c private-code xdg-shell.xml xdg-shell-protocol.c
wayland-scanner -c code xdg-shell.xml xdg-shell-protocol.c
endif

0 comments on commit 9b8511a

Please sign in to comment.
You can’t perform that action at this time.