1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 15:17:36 +00:00

LibGfx+WindowServer: Remove set_size_around() from Rect and Window

Superceded by to_floating_cursor_position() as a more accurate way
to reposition windows on untile. Effectively made set_size_around()
dead code, so the remnants can be removed.
This commit is contained in:
thankyouverycool 2022-08-18 06:52:55 -04:00 committed by Andreas Kling
parent a1dceb5b97
commit 68570e897d
4 changed files with 7 additions and 32 deletions

View file

@ -107,8 +107,6 @@ public:
m_size = size;
}
void set_size_around(Size<T> const&, Point<T> const& fixed_point);
void set_size(T width, T height)
{
m_size.set_width(width);