mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:47:44 +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
|
@ -211,9 +211,9 @@ public:
|
|||
Gfx::IntSize size() const { return m_rect.size(); }
|
||||
|
||||
void invalidate(bool with_frame = true, bool re_render_frame = false);
|
||||
void invalidate(Gfx::IntRect const&);
|
||||
void invalidate(Gfx::IntRect const&, bool invalidate_frame = false);
|
||||
void invalidate_menubar();
|
||||
bool invalidate_no_notify(const Gfx::IntRect& rect, bool with_frame = false);
|
||||
bool invalidate_no_notify(const Gfx::IntRect& rect, bool invalidate_frame = false);
|
||||
void invalidate_last_rendered_screen_rects();
|
||||
void invalidate_last_rendered_screen_rects_now();
|
||||
[[nodiscard]] bool should_invalidate_last_rendered_screen_rects() { return exchange(m_invalidate_last_render_rects, false); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue