| Index: ui/events/x/touch_factory_x11.cc
|
| diff --git a/ui/events/x/touch_factory_x11.cc b/ui/events/x/touch_factory_x11.cc
|
| index cdb0cab08c03ded5c7b594f5779e03fa61a44cf9..e016ea642a197d887fe3591619d8465db37dab92 100644
|
| --- a/ui/events/x/touch_factory_x11.cc
|
| +++ b/ui/events/x/touch_factory_x11.cc
|
| @@ -177,7 +177,7 @@
|
| #endif
|
| // Make sure only key-events from the master device are processed.
|
| if (event->evtype == XI_KeyPress || event->evtype == XI_KeyRelease)
|
| - return xiev->deviceid != xiev->sourceid;
|
| + return xiev->deviceid == xiev->sourceid;
|
|
|
| if (event->evtype != XI_ButtonPress &&
|
| event->evtype != XI_ButtonRelease &&
|
|
|