1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:07:35 +00:00

Draw the cursor *after* flushing all dirty rects.

This commit is contained in:
Andreas Kling 2019-01-12 21:01:52 +01:00
parent defd899b38
commit 4e9bcd3092

View file

@ -250,10 +250,9 @@ void WindowManager::compose()
paintWindowFrame(*window);
painter.blit(window->position(), *window->backing());
}
redraw_cursor();
for (auto& r : m_invalidated_rects) {
for (auto& r : m_invalidated_rects)
flush(r);
}
redraw_cursor();
m_invalidated_rects.clear_with_capacity();
}