rename xdg-output-protocol to xdg-output-unstable-v1-protocol

This commit is contained in:
kolunmi 2023-02-08 13:08:33 -07:00
parent 452ae3f2d5
commit 38fcc46115
3 changed files with 9 additions and 9 deletions

4
.gitignore vendored
View File

@ -4,5 +4,5 @@ wlr-layer-shell-unstable-v1-protocol.c
wlr-layer-shell-unstable-v1-protocol.h
xdg-shell-protocol.c
xdg-shell-protocol.h
xdg-output-protocol.c
xdg-output-protocol.h
xdg-output-unstable-v1-protocol.c
xdg-output-unstable-v1-protocol.h

View File

@ -24,15 +24,15 @@ xdg-shell-protocol.c:
xdg-shell-protocol.o: xdg-shell-protocol.h
xdg-output-protocol.h:
xdg-output-unstable-v1-protocol.h:
$(WAYLAND_SCANNER) client-header \
$(WAYLAND_PROTOCOLS)/unstable/xdg-output/xdg-output-unstable-v1.xml $@
xdg-output-protocol.c:
xdg-output-unstable-v1-protocol.c:
$(WAYLAND_SCANNER) private-code \
$(WAYLAND_PROTOCOLS)/unstable/xdg-output/xdg-output-unstable-v1.xml $@
xdg-output-protocol.o: xdg-output-protocol.h
xdg-output-unstable-v1-protocol.o: xdg-output-unstable-v1-protocol.h
wlr-layer-shell-unstable-v1-protocol.h:
$(WAYLAND_SCANNER) client-header \
@ -44,10 +44,10 @@ wlr-layer-shell-unstable-v1-protocol.c:
wlr-layer-shell-unstable-v1-protocol.o: wlr-layer-shell-unstable-v1-protocol.h
dwlb.o: utf8.h xdg-shell-protocol.h xdg-output-protocol.h wlr-layer-shell-unstable-v1-protocol.h
dwlb.o: utf8.h xdg-shell-protocol.h xdg-output-unstable-v1-protocol.h wlr-layer-shell-unstable-v1-protocol.h
# Protocol dependencies
dwlb: xdg-shell-protocol.o xdg-output-protocol.o wlr-layer-shell-unstable-v1-protocol.o
dwlb: xdg-shell-protocol.o xdg-output-unstable-v1-protocol.o wlr-layer-shell-unstable-v1-protocol.o
# Library dependencies
dwlb: CFLAGS+=$(shell pkg-config --cflags wayland-client fcft pixman-1)

4
dwlb.c
View File

@ -19,9 +19,9 @@
#include <wayland-client.h>
#include "utf8.h"
#include "wlr-layer-shell-unstable-v1-protocol.h"
#include "xdg-shell-protocol.h"
#include "xdg-output-protocol.h"
#include "xdg-output-unstable-v1-protocol.h"
#include "wlr-layer-shell-unstable-v1-protocol.h"
#define DIE(fmt, ...) \
do { \