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

Commit d84e646d authored by Vladislav Kaznacheev's avatar Vladislav Kaznacheev
Browse files

Do not fade pointer icon on every key press.

Bug: 34203295
Test: focus on a text input widget, move mouse around,
   type something: mouse pointer stays visible.

Change-Id: I29028233e8d919b91c49a24b9e9c0cf4bdd38fe1
parent 30edd0c3
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -2322,10 +2322,6 @@ void KeyboardInputMapper::processKey(nsecs_t when, bool down, int32_t scanCode,
        policyFlags |= POLICY_FLAG_DISABLE_KEY_REPEAT;
    }

    if (down && !isMetaKey(keyCode)) {
        getContext()->fadePointer();
    }

    NotifyKeyArgs args(when, getDeviceId(), mSource, policyFlags,
            down ? AKEY_EVENT_ACTION_DOWN : AKEY_EVENT_ACTION_UP,
            AKEY_EVENT_FLAG_FROM_SYSTEM, keyCode, scanCode, keyMetaState, downTime);