| Index: ui/events/platform/x11/x11_hotplug_event_handler.cc
|
| diff --git a/ui/events/platform/x11/x11_hotplug_event_handler.cc b/ui/events/platform/x11/x11_hotplug_event_handler.cc
|
| index 5efe25d422b33d0fe379284a7edb14e2c561bd6b..ddd3aec61733f06b6cb41f4cd717fd40e937048c 100644
|
| --- a/ui/events/platform/x11/x11_hotplug_event_handler.cc
|
| +++ b/ui/events/platform/x11/x11_hotplug_event_handler.cc
|
| @@ -245,8 +245,9 @@ void HandleTouchscreenDevicesInWorker(
|
|
|
| std::set<int> no_match_touchscreen;
|
| for (const DeviceInfo& device_info : device_infos) {
|
| - if (!device_info.enabled || device_info.use != XIFloatingSlave)
|
| - continue; // Assume all touchscreens are floating slaves
|
| + if (!device_info.enabled || (device_info.use != XIFloatingSlave
|
| + && device_info.use != XISlavePointer))
|
| + continue;
|
|
|
| double max_x = -1.0;
|
| double max_y = -1.0;
|
|
|