[clutter/clutter-1.10] device-manager: don't select events for disabled devices
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter/clutter-1.10] device-manager: don't select events for disabled devices
- Date: Tue, 1 May 2012 12:53:10 +0000 (UTC)
commit e27f58173f55c91badab866ceabd3e3662b937c7
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Mon Apr 23 20:04:58 2012 -0400
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 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/clutter/clutter-device-manager.c b/clutter/clutter-device-manager.c
index fc32278..0015c1a 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);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]