diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-01-12 21:01:52 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-01-12 21:02:08 +0100 |
commit | 4e9bcd3092190439f1c4aac170f0911a237ab4ed (patch) | |
tree | e0d1c750ee664d286a6627114d2d995152145f25 | |
parent | defd899b3868f7c0ad699e46fa8eb4585a33aeff (diff) | |
download | serenity-4e9bcd3092190439f1c4aac170f0911a237ab4ed.zip |
Draw the cursor *after* flushing all dirty rects.
-rw-r--r-- | Widgets/WindowManager.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Widgets/WindowManager.cpp b/Widgets/WindowManager.cpp index e8f866044c..41785387fa 100644 --- a/Widgets/WindowManager.cpp +++ b/Widgets/WindowManager.cpp @@ -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(); } |