Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aca5f668 authored by Tarandeep Singh's avatar Tarandeep Singh Committed by android-build-merger
Browse files

Enable InputMonitors for non-default display.

am: 48aeb512

Change-Id: I8d7faebe9c57bc17ddeeb7d4df3a69afa908171c
parents ac8661be 48aeb512
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -869,10 +869,7 @@ bool InputDispatcher::dispatchMotionLocked(
        return true;
    }

    // TODO: support sending secondary display events to input monitors
    if (isMainDisplay(entry->displayId)) {
    addMonitoringTargetsLocked(inputTargets);
    }

    // Dispatch the motion.
    if (conflictingPointerActions) {