After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 575768 - GTK+ should handle hotplug of XInput devices
GTK+ should handle hotplug of XInput devices
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Backend: X11
2.90.x
Other Linux
: Normal enhancement
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on: 596725
Blocks: 556301 581039
 
 
Reported: 2009-03-17 23:30 UTC by Bastien Nocera
Modified: 2010-08-11 04:02 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bastien Nocera 2009-03-17 23:30:03 UTC
As mentioned in bug 575767, wacom tablets can be added on-the-fly. GIMP needs to be restarted to take advantage of newly plugged in devices.
Comment 1 Sven Neumann 2009-03-18 08:24:08 UTC
Device hotplug needs to be handled at the GDK level. GTK+ should provide signals when new devices are added or removed.
Comment 2 Bastien Nocera 2009-03-23 23:56:46 UTC
Peter has a patch showing how to detect devices being added/removed:
http://people.freedesktop.org/~whot/patches/presence.c
Comment 3 Carlos Garnacho 2009-03-24 01:46:37 UTC
I'm planning to work on this as part of MPX/XI2 support, I've got some more info in http://live.gnome.org/GTK+/MPX/
Comment 4 Carlos Garnacho 2009-09-29 11:42:32 UTC
I've just opened bug #596725 to track the XInput2 changes, as this feature is already available in the xi2 branch, I'll mark this bug as depending on that one