mirror of
https://github.com/RGBCube/serenity
synced 2025-07-23 13:17:36 +00:00
WindowServer: Broadcast screen rect changes to all clients.
GUI clients can now obtain the screen rect via GDesktop::rect().
This commit is contained in:
parent
c02c9880b6
commit
318db1e48e
7 changed files with 40 additions and 0 deletions
|
@ -36,6 +36,8 @@ public:
|
|||
template<typename Matching, typename Callback> void for_each_window_matching(Matching, Callback);
|
||||
template<typename Callback> void for_each_window(Callback);
|
||||
|
||||
void notify_about_new_screen_rect(const Rect&);
|
||||
|
||||
private:
|
||||
virtual void on_message(const WSMessage&) override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue