Change from using xdg shell v5 to v6.

Also fix shell return value detection.
This commit is contained in:
ethereal 2017-01-25 14:10:56 -08:00
parent b27f17da65
commit 99577c8e88
3 changed files with 58 additions and 34 deletions

View file

@ -3,7 +3,7 @@
include config.mk
SRC = st.c xdg-shell-unstable-v5-protocol.c
SRC = st.c xdg-shell-unstable-v6-protocol.c
OBJ = ${SRC:.c=.o}
all: options st
@ -17,15 +17,15 @@ options:
config.h:
cp config.def.h config.h
xdg-shell-unstable-v5-protocol.c:
xdg-shell-unstable-v6-protocol.c:
@echo GEN $@
@wayland-scanner code ${XDG_SHELL_PROTO} $@
xdg-shell-unstable-v5-client-protocol.h:
xdg-shell-unstable-v6-client-protocol.h:
@echo GEN $@
@wayland-scanner client-header ${XDG_SHELL_PROTO} $@
st.o: xdg-shell-unstable-v5-client-protocol.h
st.o: xdg-shell-unstable-v6-client-protocol.h
.c.o:
@echo CC $<