From 4e48d550efba98ebecf4b60045004e52c585c52d Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Thu, 9 Jul 2020 09:52:11 +0200 Subject: multi-seat: improve handling of multiple (mouse) pointers * xcursor always set for all pointers * xcursor sometimes not updated when it should be * mouse grabbed state wasn't per seat, but global (i.e. "does at least one seat enable mouse grabbing") * selection enabled state wasn't per seat --- wayland.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wayland.h') diff --git a/wayland.h b/wayland.h index 489f485d..f703883e 100644 --- a/wayland.h +++ b/wayland.h @@ -148,10 +148,10 @@ struct seat { int size; int scale; char *theme_name; - const char *xcursor; - const struct terminal *pending_terminal; + const char *xcursor; struct wl_callback *xcursor_callback; + bool xcursor_pending; } pointer; struct { -- cgit v1.3