| Index: ui/events/x/events_x_utils.cc
|
| diff --git a/ui/events/x/events_x_utils.cc b/ui/events/x/events_x_utils.cc
|
| index fa37616887cec9592fa12b42e0aecdb70c18de07..20ada929c1aadd3e30515542a685d95760414454 100644
|
| --- a/ui/events/x/events_x_utils.cc
|
| +++ b/ui/events/x/events_x_utils.cc
|
| @@ -815,4 +815,8 @@ void ResetTimestampRolloverCountersForTesting(
|
| SetEventTickClockForTesting(std::move(tick_clock));
|
| }
|
|
|
| +bool IsVirtualMouseLeaveEvent(const XEvent& xev) {
|
| + return xev.type == LeaveNotify && xev.xcrossing.detail == NotifyVirtual;
|
| +}
|
| +
|
| } // namespace ui
|
|
|