summaryrefslogtreecommitdiff
path: root/Services/WindowServer/Window.h
diff options
context:
space:
mode:
Diffstat (limited to 'Services/WindowServer/Window.h')
-rw-r--r--Services/WindowServer/Window.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Services/WindowServer/Window.h b/Services/WindowServer/Window.h
index c7033853b8..0fc84bf853 100644
--- a/Services/WindowServer/Window.h
+++ b/Services/WindowServer/Window.h
@@ -145,7 +145,8 @@ public:
bool is_visible() const { return m_visible; }
void set_visible(bool);
- bool is_modal() const { return m_modal && m_parent_window; }
+ bool is_modal() const;
+ bool is_modal_dont_unparent() const { return m_modal && m_parent_window; }
Gfx::IntRect rect() const { return m_rect; }
void set_rect(const Gfx::IntRect&);
@@ -260,6 +261,7 @@ private:
void add_child_window(Window&);
void add_accessory_window(Window&);
void ensure_window_menu();
+ void modal_unparented();
ClientConnection* m_client { nullptr };