Hook up mouse callbacks
This commit is contained in:
parent
d053e7daff
commit
a3f8043afa
2 changed files with 128 additions and 10 deletions
6
Makefile
6
Makefile
|
|
@ -1,9 +1,9 @@
|
|||
INTERFACEDIR:=$(shell pkg-config --variable=pkgdatadir wayland-protocols)
|
||||
CFLAGS=-Wall -Wextra -Og -ggdb3 -Wno-unused-but-set-variable -Wno-unused-parameter
|
||||
LIBS=-lwayland-client -lwayland-egl -lEGL -lOpenGL
|
||||
LIBS=-lwayland-client -lwayland-egl -lEGL -lOpenGL -lxkbcommon
|
||||
wayland: wayland.c xdg-shell-protocol.c xdg-shell-client-protocol.h
|
||||
gcc $(CFLAGS) $(LIBS) wayland.c xdg-shell-protocol.c -o wayland
|
||||
xdg-shell-protocol.c:
|
||||
xdg-shell-protocol.c:
|
||||
wayland-scanner private-code $(INTERFACEDIR)/stable/xdg-shell/xdg-shell.xml xdg-shell-protocol.c
|
||||
xdg-shell-client-protocol.h:
|
||||
wayland-scanner client-header $(INTERFACEDIR)/stable/xdg-shell/xdg-shell.xml xdg-shell-client-protocol.h
|
||||
wayland-scanner client-header $(INTERFACEDIR)/stable/xdg-shell/xdg-shell.xml xdg-shell-client-protocol.h
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue