padOsd: Fixup to the previous commit

Forgot to squash this change before pushing, I will leave something in the
money jar as I close the door.
This commit is contained in:
Carlos Garnacho 2018-01-30 16:33:40 +01:00
parent 9ad7f59cdb
commit e09f8c87e8

View File

@ -978,7 +978,7 @@ var PadOsdService = new Lang.Class({
devices.forEach(Lang.bind(this, function(device) { devices.forEach(Lang.bind(this, function(device) {
if (deviceNode == device.get_device_node() && if (deviceNode == device.get_device_node() &&
padDevice.get_device_type() == Clutter.InputDeviceType.PAD_DEVICE) device.get_device_type() == Clutter.InputDeviceType.PAD_DEVICE)
padDevice = device; padDevice = device;
})); }));