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

Commit 5ab90570 authored by Harry Cutts's avatar Harry Cutts
Browse files

TouchpadInputMapper: bump generation on display change

Bug: 318695766
Test: atest inputflinger_tests
Test: check Apple Magic Touchpad works as usual on Pixel Tablet before
      and after rotating the screen
Change-Id: I41a992aebf12b321f085954fa0c43dbbfe817a78
parent c9dd5bec
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -399,6 +399,8 @@ std::list<NotifyArgs> TouchpadInputMapper::reconfigure(nsecs_t when,
                    : FloatRect{0, 0, 0, 0};
        }
        mGestureConverter.setBoundsInLogicalDisplay(*boundsInLogicalDisplay);

        bumpGeneration();
    }
    if (!changes.any() || changes.test(InputReaderConfiguration::Change::TOUCHPAD_SETTINGS)) {
        mPropertyProvider.getProperty("Use Custom Touchpad Pointer Accel Curve")