From 56a4e57e9ba9727157652ac57702a4dd49769975 Mon Sep 17 00:00:00 2001 From: ii8 Date: Tue, 3 Sep 2024 16:59:47 +0100 Subject: [PATCH] new seat protocol version --- Makefile | 2 +- main.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a3a79e6..df3c091 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ WAYLAND_SCANNER := wayland-scanner PREFIX ?= /usr/local BINDIR ?= $(PREFIX)/bin -VERSION="0.5.0-git" +VERSION="0.6.0" CFLAGS ?= -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-format-overflow override CFLAGS += -DVERSION=\"$(VERSION)\" diff --git a/main.c b/main.c index c684979..d83b829 100644 --- a/main.c +++ b/main.c @@ -1283,6 +1283,9 @@ static struct wl_pointer_listener ptr_listener = { #ifdef WL_POINTER_AXIS_VALUE120_SINCE_VERSION noop, #endif +#ifdef WL_POINTER_AXIS_RELATIVE_DIRECTION_SINCE_VERSION + noop, +#endif }; static void seat_capabilities(void *data, struct wl_seat *seat, uint32_t caps)