mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 10:47:35 +00:00
WindowServer: Fix geometry label not updating if it isn't moving
This fixes a regression where the geometry label isn't updating even though the window geometry had changed because the geometry label's location isn't changing.
This commit is contained in:
parent
f61a9f2dc5
commit
c12cbb96ce
2 changed files with 14 additions and 8 deletions
|
@ -100,14 +100,11 @@ protected:
|
|||
void clear_bitmaps();
|
||||
virtual void rect_changed(Gfx::IntRect const&) override;
|
||||
|
||||
void rerender_on_location_change(bool value)
|
||||
{
|
||||
m_rerender_on_location_change = value;
|
||||
}
|
||||
void invalidate_content();
|
||||
|
||||
private:
|
||||
RefPtr<MultiScaleBitmaps> m_rendered_bitmaps;
|
||||
bool m_rerender_on_location_change { false };
|
||||
bool m_content_invalidated { false };
|
||||
};
|
||||
|
||||
class ScreenNumberOverlay : public RectangularOverlay {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue