diff --git a/gdk/x11/gdkdevicemanager-xi2.c b/gdk/x11/gdkdevicemanager-xi2.c index 425efeeab9..c921ce0075 100644 --- a/gdk/x11/gdkdevicemanager-xi2.c +++ b/gdk/x11/gdkdevicemanager-xi2.c @@ -417,6 +417,10 @@ gdk_x11_device_manager_xi2_constructed (GObject *object) for (i = 0; i < ndevices; i++) { dev = &info[i]; + + if (!dev->enabled) + continue; + add_device (device_manager, dev, FALSE); if (dev->use == XIMasterPointer ||