diff --git a/clutter/clutter/clutter-event.c b/clutter/clutter/clutter-event.c index f6e458ab0..7de601285 100644 --- a/clutter/clutter/clutter-event.c +++ b/clutter/clutter/clutter-event.c @@ -1494,7 +1494,9 @@ _clutter_event_push (const ClutterEvent *event, device = clutter_event_get_device (event); if (device != NULL) { - if (!clutter_input_device_get_enabled (device)) + if (event->type != CLUTTER_DEVICE_ADDED && + event->type != CLUTTER_DEVICE_REMOVED && + !clutter_input_device_get_enabled (device)) return; }