mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 11:58:13 +00:00
Stop recomposing the window hierarchy after every dang widget paint.
This commit is contained in:
parent
f3ec96a1b9
commit
cfd76ade73
8 changed files with 34 additions and 41 deletions
|
@ -41,7 +41,6 @@ private:
|
|||
void processMouseEvent(MouseEvent&);
|
||||
void handleTitleBarMouseEvent(Window&, MouseEvent&);
|
||||
void handlePaintEvent(PaintEvent&);
|
||||
void repaintAfterMove(const Rect& oldRect, const Rect& newRect);
|
||||
|
||||
virtual void event(Event&) override;
|
||||
|
||||
|
@ -68,4 +67,5 @@ private:
|
|||
Rect m_dragEndRect;
|
||||
|
||||
unsigned m_recompose_count { 0 };
|
||||
unsigned m_frontmost_only_compose_count { 0 };
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue