port dwm "push" patch to dwl

This commit is contained in:
Devin J. Pohly 2021-03-04 00:45:50 -06:00 committed by Leonardo Hernández Hernández
parent b6d6127733
commit 0259e9a8ab
No known key found for this signature in database
GPG key ID: E538897EE11B9624
3 changed files with 66 additions and 1 deletions

View file

@ -16,7 +16,7 @@ LDLIBS = `$(PKG_CONFIG) --libs $(PKGS)` $(LIBS)
all: dwl
dwl: dwl.o util.o
$(CC) dwl.o util.o $(LDLIBS) $(LDFLAGS) $(DWLCFLAGS) -o $@
dwl.o: dwl.c config.mk config.h client.h xdg-shell-protocol.h wlr-layer-shell-unstable-v1-protocol.h
dwl.o: dwl.c push.c config.mk config.h client.h xdg-shell-protocol.h wlr-layer-shell-unstable-v1-protocol.h
util.o: util.c util.h
# wayland-scanner is a tool which generates C headers and rigging for Wayland