pointer-constraints-v1: add cursor_hint.enabled

This allows compositors to check whether the cursor hint is set.
This commit is contained in:
Simon Ser 2023-12-13 21:43:28 +01:00
parent df27b29d49
commit 85f44f3684
2 changed files with 2 additions and 0 deletions

View file

@ -33,6 +33,7 @@ struct wlr_pointer_constraint_v1_state {
// only valid for locked_pointer
struct {
bool enabled;
double x, y;
} cursor_hint;
};