summaryrefslogtreecommitdiff
path: root/Servers/WindowServer/WSWindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'Servers/WindowServer/WSWindow.h')
-rw-r--r--Servers/WindowServer/WSWindow.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Servers/WindowServer/WSWindow.h b/Servers/WindowServer/WSWindow.h
index 4e938b44a0..46fbee3132 100644
--- a/Servers/WindowServer/WSWindow.h
+++ b/Servers/WindowServer/WSWindow.h
@@ -21,6 +21,9 @@ public:
WSWindow(CObject&, WSWindowType);
virtual ~WSWindow() override;
+ void popup_window_menu(const Point&);
+ void request_close();
+
unsigned wm_event_mask() const { return m_wm_event_mask; }
void set_wm_event_mask(unsigned mask) { m_wm_event_mask = mask; }
@@ -177,4 +180,5 @@ private:
unsigned m_wm_event_mask { 0 };
DisjointRectSet m_pending_paint_rects;
Rect m_unmaximized_rect;
+ OwnPtr<WSMenu> m_window_menu;
};