mirror of
https://github.com/labwc/labwc.git
synced 2025-10-31 22:25:34 -04:00
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:
parent
d00711bc45
commit
2388f37cc7
5 changed files with 24 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue