mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 21:29:06 +00:00
Everywhere: Replace uses of GUI::Desktop's on_rect_change and remove it
This commit is contained in:
parent
5367bbb82c
commit
96b26ec125
Notes:
sideshowbarker
2024-07-18 20:51:10 +09:00
Author: https://github.com/linusg
Commit: 96b26ec125
Pull-request: https://github.com/SerenityOS/serenity/pull/6099
7 changed files with 16 additions and 16 deletions
|
@ -50,8 +50,6 @@ void Desktop::did_receive_screen_rect(Badge<WindowServerConnection>, const Gfx::
|
|||
if (m_rect == rect)
|
||||
return;
|
||||
m_rect = rect;
|
||||
if (on_rect_change)
|
||||
on_rect_change(rect);
|
||||
}
|
||||
|
||||
void Desktop::set_background_color(const StringView& background_color)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue