input: prevent cursor notifications from pointer and tablet tool

... at the same time. Omit cursor notifications from
a pointer when a tablet tool (stylus/pen) is in
proximity. We expect to get cursor notifications
from the tablet tool instead.
This commit is contained in:
Jens Peters 2024-05-28 20:50:05 +02:00 committed by Consolatis
parent d00711bc45
commit 2388f37cc7
5 changed files with 24 additions and 0 deletions

View file

@ -14,6 +14,7 @@ struct drawing_tablet_tool {
struct wl_listener set_cursor;
struct wl_listener destroy;
} handlers;
struct wl_list link; /* seat.tablet_tools */
};
void tablet_tool_init(struct seat *seat,

View file

@ -193,6 +193,8 @@ struct seat {
struct wl_listener touch_motion;
struct wl_listener touch_frame;
struct wl_list tablet_tools;
struct wl_listener constraint_commit;
struct wl_listener pressed_surface_destroy;