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

WindowServer: Add modeless_ancestor() helper

This commit is contained in:
thankyouverycool 2022-08-24 06:23:25 -04:00 committed by Andreas Kling
parent ab517aa21d
commit 609391b46e
2 changed files with 12 additions and 0 deletions

View file

@ -184,6 +184,7 @@ public:
bool is_modal() const;
bool is_modal_dont_unparent() const { return m_modal && m_parent_window; }
Window* modeless_ancestor();
Gfx::IntRect rect() const { return m_rect; }
void set_rect(Gfx::IntRect const&);