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

Commit b62f9e45 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Remove viewport display ID assignment in pointer mode"

parents c03b09c1 9514d78a
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -3433,7 +3433,6 @@ void TouchInputMapper::abortPointerMouse(nsecs_t when, uint32_t policyFlags) {
void TouchInputMapper::dispatchPointerSimple(nsecs_t when, uint32_t policyFlags, bool down,
                                             bool hovering) {
    int32_t metaState = getContext()->getGlobalMetaState();
    int32_t displayId = mViewport.displayId;

    if (down || hovering) {
        mPointerController->setPresentation(PointerControllerInterface::Presentation::POINTER);
@@ -3443,7 +3442,7 @@ void TouchInputMapper::dispatchPointerSimple(nsecs_t when, uint32_t policyFlags,
    } else if (!down && !hovering && (mPointerSimple.down || mPointerSimple.hovering)) {
        mPointerController->fade(PointerControllerInterface::Transition::GRADUAL);
    }
    displayId = mPointerController->getDisplayId();
    int32_t displayId = mPointerController->getDisplayId();

    float xCursorPosition;
    float yCursorPosition;