diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2011-07-14 17:49:44 +0200 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2011-07-15 18:14:38 +0200 |
commit | 6aab48ead0c3189e8380c4b1b1aa38be5b2882b2 (patch) | |
tree | 68c6dbe31a30cb49b7c1659ba3a17093ba1c1115 /gdk/x11/gdkprivate-x11.h | |
parent | f90c154472cc9f3901644ccb49e944aca40200ca (diff) | |
download | gtk+-6aab48ead0c3189e8380c4b1b1aa38be5b2882b2.tar.gz |
gdk/x11: Add gdk_x11_device_manager_lookup()
This function can be used to find the GdkDevice wrapping
an XInput2 device ID. For core devices, the Virtual Core
Pointer/Keyboard IDs (2/3) may be used.
Diffstat (limited to 'gdk/x11/gdkprivate-x11.h')
-rw-r--r-- | gdk/x11/gdkprivate-x11.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdk/x11/gdkprivate-x11.h b/gdk/x11/gdkprivate-x11.h index cb9b231479..0a832f9c48 100644 --- a/gdk/x11/gdkprivate-x11.h +++ b/gdk/x11/gdkprivate-x11.h @@ -254,6 +254,8 @@ guint _gdk_x11_device_xi2_translate_state (XIModifierState *mods_state, XIGroupState *group_state); gint _gdk_x11_device_xi2_get_id (GdkX11DeviceXI2 *device); +GdkDevice * _gdk_x11_device_manager_xi2_lookup (GdkX11DeviceManagerXI2 *device_manager_xi2, + gint device_id); #endif |