diff options
author | 2021-08-13 21:06:32 +0000 | |
---|---|---|
committer | 2021-08-13 21:06:32 +0000 | |
commit | 24beb0a31da6b4bf33353b20b2ad2640d0f8981a (patch) | |
tree | bbd1f41e1cb0f2df0e3552149b193c5dfb88151f /libs/input/SpriteController.cpp | |
parent | 2ba398a34648095599c708779d749e730da6c5af (diff) | |
parent | 989de3d470dca6df8319be87c8f60c0fdc092b25 (diff) |
Merge "Use ui::LayerStack"
Diffstat (limited to 'libs/input/SpriteController.cpp')
-rw-r--r-- | libs/input/SpriteController.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/input/SpriteController.cpp b/libs/input/SpriteController.cpp index d10e68816d28..0c6dac02453a 100644 --- a/libs/input/SpriteController.cpp +++ b/libs/input/SpriteController.cpp @@ -168,7 +168,8 @@ void SpriteController::doUpdateSprites() { // If surface is a new one, we have to set right layer stack. if (update.surfaceChanged || update.state.dirty & DIRTY_DISPLAY_ID) { - t.setLayerStack(update.state.surfaceControl, update.state.displayId); + t.setLayerStack(update.state.surfaceControl, + ui::LayerStack::fromValue(update.state.displayId)); needApplyTransaction = true; } } |