diff options
author | Ignacio Casal Quinteiro <qignacio@amazon.com> | 2021-01-07 12:27:26 +0100 |
---|---|---|
committer | Ignacio Casal Quinteiro <qignacio@amazon.com> | 2021-01-07 12:50:48 +0100 |
commit | 45ec3fc389195044beb89ade4bfc3d307709f304 (patch) | |
tree | 746e6dbe103ed47aad6e6f8cbd4e03d32f73455b /gdk/gdkseatprivate.h | |
parent | 0d99ef7cee14dbe57b1d670561d67856d9dcbd20 (diff) | |
download | gtk+-45ec3fc389195044beb89ade4bfc3d307709f304.tar.gz |
seat: improve api to take into account the tool type
Otherwise if we have several tools with the same serial
and hardware id we might match the wrong tool.
Diffstat (limited to 'gdk/gdkseatprivate.h')
-rw-r--r-- | gdk/gdkseatprivate.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gdk/gdkseatprivate.h b/gdk/gdkseatprivate.h index 12453896ad..228740dbaf 100644 --- a/gdk/gdkseatprivate.h +++ b/gdk/gdkseatprivate.h @@ -75,9 +75,10 @@ void gdk_seat_tool_removed (GdkSeat *seat, GdkDeviceTool *tool); GdkDeviceTool * - gdk_seat_get_tool (GdkSeat *seat, - guint64 serial, - guint64 hw_id); + gdk_seat_get_tool (GdkSeat *seat, + guint64 serial, + guint64 hw_id, + GdkDeviceToolType type); GdkGrabStatus gdk_seat_grab (GdkSeat *seat, GdkSurface *surface, |