mirror of
https://github.com/RGBCube/serenity
synced 2025-05-24 01:15:07 +00:00
LibGUI+WindowServer: Remove ResizeEvent::old_size()
Turns out nobody was using this information anyway, so let's not go through all the trouble of plumbing it from WindowServer to LibGUI. Fixes #3247.
This commit is contained in:
parent
683ae4f7ad
commit
e374eb3035
7 changed files with 18 additions and 33 deletions
|
@ -151,7 +151,7 @@ void Widget::set_relative_rect(const Gfx::IntRect& a_rect)
|
|||
m_relative_rect = rect;
|
||||
|
||||
if (size_changed) {
|
||||
ResizeEvent resize_event(m_relative_rect.size(), rect.size());
|
||||
ResizeEvent resize_event(rect.size());
|
||||
event(resize_event);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue