Change from using xdg shell v5 to v6.
Also fix shell return value detection.
This commit is contained in:
parent
b27f17da65
commit
99577c8e88
3 changed files with 58 additions and 34 deletions
8
Makefile
8
Makefile
|
@ -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 $<
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue