From 85f44f3684c18a77ecbe33203d27382561eb8db6 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 13 Dec 2023 21:43:28 +0100 Subject: pointer-constraints-v1: add cursor_hint.enabled This allows compositors to check whether the cursor hint is set. --- include/wlr/types/wlr_pointer_constraints_v1.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/wlr/types/wlr_pointer_constraints_v1.h b/include/wlr/types/wlr_pointer_constraints_v1.h index 21280ff2..1ff10f9d 100644 --- a/include/wlr/types/wlr_pointer_constraints_v1.h +++ b/include/wlr/types/wlr_pointer_constraints_v1.h @@ -33,6 +33,7 @@ struct wlr_pointer_constraint_v1_state { // only valid for locked_pointer struct { + bool enabled; double x, y; } cursor_hint; }; -- cgit v1.2.3