Commit 78c483ab authored by Jan Blackquill's avatar Jan Blackquill 🌈 Committed by Vlad Zahorodnii
Browse files

effects/DesktopGrid: use delta, not absolute time for MotionManager

Despite the argument naming, the input for WindowMotionManager::calculate is supposed to be a
delta, not an absolute time. Giving it a delta fixes the PresentWindows in the DesktopGrid.

BUG: 443971

(cherry picked from commit c0cb349c)
parent 86da8e9e
Pipeline #136043 passed with stage
in 14 minutes and 34 seconds
......@@ -222,7 +222,7 @@ void DesktopGridEffect::prePaintScreen(ScreenPrePaintData& data, std::chrono::mi
if (isUsingPresentWindows()) {
for (auto i = m_managers.begin(); i != m_managers.end(); ++i) {
for (WindowMotionManager &manager : *i) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment