From b746044415ba8eb2d4c4263aeec038257f1bf2f3 Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Mon, 23 Apr 2012 20:04:58 -0400 Subject: [PATCH] device-manager: don't select events for disabled devices I.e. only select events for core devices or devices explicitly enabled by clients. https://bugzilla.gnome.org/show_bug.cgi?id=673644 --- clutter/clutter-device-manager.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clutter/clutter-device-manager.c b/clutter/clutter-device-manager.c index fc3227884..0015c1a12 100644 --- a/clutter/clutter-device-manager.c +++ b/clutter/clutter-device-manager.c @@ -323,7 +323,8 @@ _clutter_device_manager_select_stage_events (ClutterDeviceManager *device_manage { ClutterInputDevice *device = d->data; - _clutter_input_device_select_stage_events (device, stage, event_flags); + if (device->is_enabled) + _clutter_input_device_select_stage_events (device, stage, event_flags); } }