mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:37:34 +00:00
Draw the cursor *after* flushing all dirty rects.
This commit is contained in:
parent
defd899b38
commit
4e9bcd3092
1 changed files with 2 additions and 3 deletions
|
@ -250,10 +250,9 @@ void WindowManager::compose()
|
||||||
paintWindowFrame(*window);
|
paintWindowFrame(*window);
|
||||||
painter.blit(window->position(), *window->backing());
|
painter.blit(window->position(), *window->backing());
|
||||||
}
|
}
|
||||||
redraw_cursor();
|
for (auto& r : m_invalidated_rects)
|
||||||
for (auto& r : m_invalidated_rects) {
|
|
||||||
flush(r);
|
flush(r);
|
||||||
}
|
redraw_cursor();
|
||||||
m_invalidated_rects.clear_with_capacity();
|
m_invalidated_rects.clear_with_capacity();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue