aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-12-13 21:43:28 +0100
committerSimon Ser <contact@emersion.fr>2023-12-25 10:36:26 +0000
commit85f44f3684c18a77ecbe33203d27382561eb8db6 (patch)
tree7bef0c9f73624898954792eedc767ac4e629d3f0 /include
parentdf27b29d496bdb3869b266482610c6c924b674aa (diff)
pointer-constraints-v1: add cursor_hint.enabled
This allows compositors to check whether the cursor hint is set.
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_pointer_constraints_v1.h1
1 files changed, 1 insertions, 0 deletions
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;
};