wayland: Include a script for regenerating protocol headers/source.

This commit is contained in:
Ivan Vučica 2020-01-26 22:05:38 +00:00
parent 3db7a6fbd4
commit 24cbc5a198

7
wayland-regenerate.sh Executable file
View file

@ -0,0 +1,7 @@
#!/bin/bash
# This script is used to regenerate xdg-shell-protocol public code and headers
# from the XML specification.
wayland-scanner public-code /usr/share/wayland-protocols/stable/xdg-shell/xdg-shell.xml Source/wayland/xdg-shell-protocol.c
wayland-scanner client-header /usr/share/wayland-protocols/stable/xdg-shell/xdg-shell.xml Headers/wayland/xdg-shell-client-protocol.h