support xdg_activation_v1 and implement passing to execution flag
This commit is contained in:
parent
6cef260109
commit
6d80584299
4 changed files with 67 additions and 10 deletions
11
Makefile
11
Makefile
|
@ -30,14 +30,19 @@ all: mew
|
|||
config.h:
|
||||
cp config.def.h $@
|
||||
|
||||
mew.o: config.h wlr-layer-shell-unstable-v1-protocol.h xdg-shell-protocol.h
|
||||
mew.o: config.h wlr-layer-shell-unstable-v1-protocol.h xdg-activation-v1-protocol.h xdg-shell-protocol.h
|
||||
|
||||
mew: wlr-layer-shell-unstable-v1-protocol.o xdg-shell-protocol.o mew.o
|
||||
$(CC) $(LDFLAGS) -o $@ wlr-layer-shell-unstable-v1-protocol.o xdg-shell-protocol.o mew.o $(LDLIBS)
|
||||
mew: wlr-layer-shell-unstable-v1-protocol.o xdg-activation-v1-protocol.o xdg-shell-protocol.o mew.o
|
||||
$(CC) $(LDFLAGS) -o $@ wlr-layer-shell-unstable-v1-protocol.o xdg-activation-v1-protocol.o xdg-shell-protocol.o mew.o $(LDLIBS)
|
||||
|
||||
WAYLAND_PROTOCOLS = `$(PKG_CONFIG) --variable=pkgdatadir wayland-protocols`
|
||||
WAYLAND_SCANNER = `$(PKG_CONFIG) --variable=wayland_scanner wayland-scanner`
|
||||
|
||||
xdg-activation-v1-protocol.h:
|
||||
$(WAYLAND_SCANNER) client-header $(WAYLAND_PROTOCOLS)/staging/xdg-activation/xdg-activation-v1.xml $@
|
||||
xdg-activation-v1-protocol.c:
|
||||
$(WAYLAND_SCANNER) private-code $(WAYLAND_PROTOCOLS)/staging/xdg-activation/xdg-activation-v1.xml $@
|
||||
|
||||
xdg-shell-protocol.h:
|
||||
$(WAYLAND_SCANNER) client-header $(WAYLAND_PROTOCOLS)/stable/xdg-shell/xdg-shell.xml $@
|
||||
xdg-shell-protocol.c:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue