mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-01 07:07:49 +00:00
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:
parent
86d230ab5f
commit
3a4a9d4c6b
Notes:
sideshowbarker
2024-07-19 02:51:00 +09:00
Author: https://github.com/tomuta
Commit: 3a4a9d4c6b
Pull-request: https://github.com/SerenityOS/serenity/pull/3430
Issue: https://github.com/SerenityOS/serenity/issues/3427
3 changed files with 12 additions and 7 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue