mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:38:11 +00:00
WindowServer: Mark window frame as invalidated when updating title
We need to set Window::m_invalidated_frame to true when invalidating the title, otherwise we may miss re-rendering the frame if nothing else triggers it.
This commit is contained in:
parent
678d26dd19
commit
97e18a6ce1
3 changed files with 8 additions and 8 deletions
|
@ -624,7 +624,7 @@ void WindowFrame::invalidate(Gfx::IntRect relative_rect)
|
|||
auto window_rect = m_window.rect();
|
||||
relative_rect.translate_by(frame_rect.x() - window_rect.x(), frame_rect.y() - window_rect.y());
|
||||
set_dirty();
|
||||
m_window.invalidate(relative_rect);
|
||||
m_window.invalidate(relative_rect, true);
|
||||
}
|
||||
|
||||
void WindowFrame::window_rect_changed(const Gfx::IntRect& old_rect, const Gfx::IntRect& new_rect)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue