aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2023-03-20 21:47:52 +0100
committerNathan Reiner <nathan@nathanreiner.xyz>2023-03-20 21:47:52 +0100
commit4948a7ff9f68b14d89adf5acc61f3b2bb445323e (patch)
tree13c51e880f14f92da707cf4b4ac154564b1dcb47
parent6ef44e08ae899de2dc9992b5934154856a2b460a (diff)
changed protocol naming
-rw-r--r--Makefile10
-rw-r--r--wayland.h2
2 files changed, 6 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index ddc7724..2e8b932 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-PROTOCOLS = xdg-shell-client-protocol.c wlr-layer-shell-unstable.c xdg-output-unstable-v1-client-protocol.c dwl-bar-ipc-unstable-v1-protocol.c
+PROTOCOLS = xdg-shell-client-protocol.c wlr-layer-shell-protocol.c xdg-output-unstable-v1-client-protocol.c dwl-bar-ipc-unstable-v1-protocol.c
SRC = ${PROTOCOLS} dbar.c drw.c util.c wayland.c
OBJ = ${SRC:.c=.o}
CFLAGS = -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread
@@ -27,11 +27,11 @@ xdg-output-unstable-v1-client-protocol.h:
xdg-output-unstable-v1-client-protocol.c: xdg-output-unstable-v1-client-protocol.h
wayland-scanner private-code < /usr/share/wayland-protocols/unstable/xdg-output/xdg-output-unstable-v1.xml > xdg-output-unstable-v1-client-protocol.c
-wlr-layer-shell-unstable.c: wlr-layer-shell-unstable.h
- wayland-scanner private-code < protocols/wlr-layer-shell-unstable.xml > wlr-layer-shell-unstable.c
+wlr-layer-shell-protocol.h:
+ wayland-scanner client-header < protocols/wlr-layer-shell-unstable.xml > wlr-layer-shell-protocol.h
-wlr-layer-shell-unstable.h:
- wayland-scanner client-header < protocols/wlr-layer-shell-unstable.xml > wlr-layer-shell-unstable.h
+wlr-layer-shell-protocol.c: wlr-layer-shell-protocol.h
+ wayland-scanner private-code < protocols/wlr-layer-shell-unstable.xml > wlr-layer-shell-protocol.c
.c.o:
gcc -c $< ${CFLAGS}
diff --git a/wayland.h b/wayland.h
index 4844d28..741de20 100644
--- a/wayland.h
+++ b/wayland.h
@@ -2,7 +2,7 @@
#define WAYLAND_H
#include "xdg-shell-client-protocol.h"
-#include "wlr-layer-shell-unstable.h"
+#include "wlr-layer-shell-protocol.h"
#include "dwl-bar-ipc-unstable-v1-protocol.h"
typedef struct ListElement ListElement;