diff --git a/clutter/evdev/clutter-device-manager-evdev.c b/clutter/evdev/clutter-device-manager-evdev.c index 80c069825..caa135551 100644 --- a/clutter/evdev/clutter-device-manager-evdev.c +++ b/clutter/evdev/clutter-device-manager-evdev.c @@ -540,7 +540,6 @@ evdev_add_device (ClutterDeviceManagerEvdev *manager_evdev, ClutterDeviceManager *manager = (ClutterDeviceManager *) manager_evdev; ClutterInputDeviceType type = CLUTTER_EXTENSION_DEVICE; ClutterInputDevice *device; - ClutterActor *stage; const gchar *device_file, *sysfs_path, *device_name; device_file = g_udev_device_get_device_file (udev_device); @@ -583,10 +582,6 @@ evdev_add_device (ClutterDeviceManagerEvdev *manager_evdev, "enabled", TRUE, NULL); - /* Always associate the device to the default stage */ - stage = clutter_stage_get_default (); - _clutter_input_device_set_stage (device, CLUTTER_STAGE (stage)); - _clutter_device_manager_add_device (manager, device); CLUTTER_NOTE (EVENT, "Added device %s, type %d, sysfs %s",