]> Pileus Git - ~andy/gtk/commit
xi2: Improve device hierarchy handling
authorCarlos Garnacho <carlosg@gnome.org>
Mon, 13 Dec 2010 11:20:34 +0000 (12:20 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Wed, 15 Dec 2010 02:17:59 +0000 (03:17 +0100)
commitbe7de347bfac28b341aeb25baf1e788c6a333095
treed55f8a6c8bcafd7a64d0b55f9d1486de7624c572
parent9f41101ccc5d81f748f64752528cc3751f971597
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.
gdk/gdkdevice.c
gdk/gdkdevice.h
gdk/gdkdevicemanager.c
gdk/gdkdeviceprivate.h
gdk/x11/gdkdevicemanager-xi2.c
gdk/x11/gdkdevicemanager-xi2.h