| Index: ui/events/devices/x11/touch_factory_x11.cc
|
| diff --git a/ui/events/devices/x11/touch_factory_x11.cc b/ui/events/devices/x11/touch_factory_x11.cc
|
| index bd7b15714b347899ef7856d469ac04e0891c866f..322934447348528a0161496b8405bbd265d2cd6e 100644
|
| --- a/ui/events/devices/x11/touch_factory_x11.cc
|
| +++ b/ui/events/devices/x11/touch_factory_x11.cc
|
| @@ -128,7 +128,7 @@ void TouchFactory::UpdateDeviceList(Display* display) {
|
| XITouchClassInfo* tci =
|
| reinterpret_cast<XITouchClassInfo*>(xiclassinfo);
|
| // Only care direct touch device (such as touch screen) right now
|
| - if (tci->mode == XIDirectTouch)
|
| + if (tci->mode == XIDirectTouch) {
|
| CacheTouchscreenIds(devinfo.deviceid);
|
| if (devinfo.use == XISlavePointer) {
|
| device_master_id_list_[devinfo.deviceid] = devinfo.attachment;
|
| @@ -137,6 +137,7 @@ void TouchFactory::UpdateDeviceList(Display* display) {
|
| touch_device_lookup_[devinfo.attachment] = true;
|
| touch_device_list_[devinfo.attachment] = true;
|
| }
|
| + }
|
| }
|
| }
|
| }
|
|
|