1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 01:47:35 +00:00

WindowServer: Stop tracking whether clients have painted since last resize.

This optimization is no longer needed now that clients coalesce resizes
on their own. :^)
This commit is contained in:
Andreas Kling 2019-04-10 15:46:56 +02:00
parent 55811f233f
commit cfab81a961
3 changed files with 1 additions and 14 deletions

View file

@ -106,9 +106,6 @@ public:
bool has_alpha_channel() const { return m_has_alpha_channel; }
void set_has_alpha_channel(bool value) { m_has_alpha_channel = value; }
bool has_painted_since_last_resize() const { return m_has_painted_since_last_resize; }
void set_has_painted_since_last_resize(bool b) { m_has_painted_since_last_resize = b; }
Size size_increment() const { return m_size_increment; }
void set_size_increment(const Size& increment) { m_size_increment = increment; }
@ -138,7 +135,6 @@ private:
bool m_automatic_cursor_tracking_enabled { false };
bool m_visible { true };
bool m_has_alpha_channel { false };
bool m_has_painted_since_last_resize { false };
bool m_modal { false };
bool m_resizable { false };
bool m_listens_to_wm_events { false };