1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:48:10 +00:00

WindowServer: Merge WM_WindowAdded and WM_WindowStateChanged.

These events are identical, so it's silly to send both. Just broadcast
window state changes everywhere instead, it doesn't matter when it was
added as clients are learning about this asynchronously anyway.
This commit is contained in:
Andreas Kling 2019-04-05 15:01:28 +02:00
parent 329cc60a92
commit 99b98dc653
9 changed files with 14 additions and 97 deletions

View file

@ -123,6 +123,7 @@ private:
void flip_buffers();
void tick_clock();
void tell_wm_listeners_window_state_changed(WSWindow&);
void tell_wm_listener_about_window(WSWindow& listener, WSWindow&);
WSScreen& m_screen;
Rect m_screen_rect;