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

Commit 6272659d authored by Prabir Pradhan's avatar Prabir Pradhan
Browse files

Update SurfaceControl buffer size when increasing pointer size

Bug: 187541012
Test: manual: toggle "Large mouse pointer" in settings, observe.
Change-Id: I6ab1dae702ba20d40eed706685ef78d118cdb96d
parent b5250284
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -153,8 +153,7 @@ void SpriteController::doUpdateSprites() {
                    || update.state.surfaceHeight < desiredHeight) {
                needApplyTransaction = true;

                t.setSize(update.state.surfaceControl,
                        desiredWidth, desiredHeight);
                update.state.surfaceControl->updateDefaultBufferSize(desiredWidth, desiredHeight);
                update.state.surfaceWidth = desiredWidth;
                update.state.surfaceHeight = desiredHeight;
                update.state.surfaceDrawn = false;