WindowServer: Fix invalidating window frame

When invalidating the frame we need to properly flag that so that
we trigger rendering the frame, even if "all" was flagged as being
invalidated. Otherwise it will only get rendered if anything else
happens to trigger it (such as focus change).

Fixes #3427
This commit is contained in:
Tom 2020-09-07 11:34:30 -06:00 committed by Andreas Kling
commit 3a4a9d4c6b
Notes: sideshowbarker 2024-07-19 02:51:00 +09:00
3 changed files with 12 additions and 7 deletions

View file

@ -168,8 +168,8 @@ public:
Gfx::IntSize size() const { return m_rect.size(); }
void invalidate(bool with_frame = true);
void invalidate(const Gfx::IntRect&);
bool invalidate_no_notify(const Gfx::IntRect& rect);
void invalidate(const Gfx::IntRect&, bool with_frame = false);
bool invalidate_no_notify(const Gfx::IntRect& rect, bool with_frame = false);
void prepare_dirty_rects();
void clear_dirty_rects();