mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:47:45 +00:00
After moving a window, try to repaint a bit less.
Only repaint windows that intersect either the old or the new rect. Also only repaint those rects in the root widget.
This commit is contained in:
parent
74aa4d5345
commit
6f9e0e3876
9 changed files with 111 additions and 23 deletions
|
@ -35,6 +35,8 @@ public:
|
|||
bool isBeingDragged() const { return m_isBeingDragged; }
|
||||
void setIsBeingDragged(bool b) { m_isBeingDragged = b; }
|
||||
|
||||
void repaint();
|
||||
|
||||
private:
|
||||
String m_title;
|
||||
Rect m_rect;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue