feat: add support layershell protocol
This commit is contained in:
12
Makefile
12
Makefile
@@ -10,8 +10,12 @@ OBJS=\
|
||||
cursor.c \
|
||||
output.c \
|
||||
seat.c \
|
||||
node.c \
|
||||
desktop.c \
|
||||
xdg.c \
|
||||
xdg-shell-protocol.c
|
||||
xdg-shell-protocol.c \
|
||||
layer.c \
|
||||
wlr-layer-shell-unstable-v1-protocol.c
|
||||
|
||||
# wayland-scanner is a tool which generates C headers and rigging for Wayland
|
||||
# protocols, which are specified in XML. wlroots requires you to rig these up
|
||||
@@ -24,6 +28,10 @@ xdg-shell-protocol.c: xdg-shell-protocol.h
|
||||
$(WAYLAND_SCANNER) private-code \
|
||||
$(WAYLAND_PROTOCOLS)/stable/xdg-shell/xdg-shell.xml $@
|
||||
|
||||
wlr-layer-shell-unstable-v1-protocol.c: wlr-layer-shell-unstable-v1-protocol.h
|
||||
$(WAYLAND_SCANNER) private-code \
|
||||
protocol/wlr-layer-shell-unstable-v1.xml $@
|
||||
|
||||
wlr-layer-shell-unstable-v1-protocol.h:
|
||||
$(WAYLAND_SCANNER) server-header \
|
||||
protocol/wlr-layer-shell-unstable-v1.xml $@
|
||||
@@ -37,7 +45,7 @@ diyac: $(OBJS)
|
||||
$(LIBS)
|
||||
|
||||
clean:
|
||||
rm -f diyac xdg-shell-protocol.h xdg-shell-protocol.c
|
||||
rm -f diyac xdg-shell-protocol.* wlr-layer-shell-unstable-v1-protocol.*
|
||||
|
||||
.DEFAULT_GOAL=diyac
|
||||
.PHONY: clean
|
Reference in New Issue
Block a user