LibGUI+WindowServer: Inform WindowServer about parent/child windows

If a window has another window in its Core::Object ancestor chain,
we now communicate that relationship to WindowServer so that it can
act with awareness of parent/child windows.
This commit is contained in:
Andreas Kling 2020-05-01 22:59:38 +02:00
commit 6228f72b87
Notes: sideshowbarker 2024-07-19 07:07:28 +09:00
7 changed files with 63 additions and 2 deletions

View file

@ -182,6 +182,8 @@ public:
void did_remove_widget(Badge<Widget>, const Widget&);
Window* find_parent_window();
protected:
Window(Core::Object* parent = nullptr);
virtual void wm_event(WMEvent&);