1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 18:18:12 +00:00

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
parent e9b7a51a9a
commit 6228f72b87
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&);