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/gdkdeviceprivate.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/gdkdeviceprivate.h')
-rw-r--r-- | gdk/gdkdeviceprivate.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdk/gdkdeviceprivate.h b/gdk/gdkdeviceprivate.h index d878ae634d..f7318620d8 100644 --- a/gdk/gdkdeviceprivate.h +++ b/gdk/gdkdeviceprivate.h @@ -125,6 +125,10 @@ GdkTimeCoord ** _gdk_device_allocate_history (GdkDevice *device, void _gdk_input_check_extension_events (GdkDevice *device); +void _gdk_device_add_slave (GdkDevice *device, + GdkDevice *slave); +void _gdk_device_remove_slave (GdkDevice *device, + GdkDevice *slave); G_END_DECLS |