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
This commit is contained in:
parent
85323f09a5
commit
b746044415
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user