diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2010-12-13 12:20:34 +0100 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2010-12-15 03:17:59 +0100 |
commit | be7de347bfac28b341aeb25baf1e788c6a333095 (patch) | |
tree | d55f8a6c8bcafd7a64d0b55f9d1486de7624c572 /gdk/gdkdevice.h | |
parent | 9f41101ccc5d81f748f64752528cc3751f971597 (diff) | |
download | gtk+-be7de347bfac28b341aeb25baf1e788c6a333095.tar.gz |
xi2: Improve device hierarchy handling
The xi2 device manager now handles slaves being detached and/or
attached to a master.
gdk_device_list_slaves() has been added so it is possible to
know how slaves relate with masters. The other backends (X11 and not)
don't neeed to to anything special here since their hierarchy is
fully flat.
Diffstat (limited to 'gdk/gdkdevice.h')
-rw-r--r-- | gdk/gdkdevice.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdk/gdkdevice.h b/gdk/gdkdevice.h index 27375f7621..2c797a9fc8 100644 --- a/gdk/gdkdevice.h +++ b/gdk/gdkdevice.h @@ -222,6 +222,7 @@ gboolean gdk_device_get_axis (GdkDevice *device, GdkDisplay * gdk_device_get_display (GdkDevice *device); GdkDevice * gdk_device_get_associated_device (GdkDevice *device); +GList * gdk_device_list_slave_devices (GdkDevice *device); GdkDeviceType gdk_device_get_device_type (GdkDevice *device); |