1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 05:37:44 +00:00

WindowServer: Refactor window geometry overlay rect calculation logic

This moves the ideal overlay rect calculation into its own function.
This commit is contained in:
Tom 2023-04-12 09:19:35 -06:00 committed by Linus Groh
parent e1077ebbad
commit 7795b7bc17
2 changed files with 18 additions and 11 deletions

View file

@ -151,6 +151,8 @@ public:
void start_or_stop_move_to_tile_overlay_animation(TileWindowOverlay*);
private:
Gfx::IntRect calculate_ideal_overlay_rect() const;
WeakPtr<Window> m_window;
DeprecatedString m_label;
Gfx::IntRect m_label_rect;