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:
parent
e9b7a51a9a
commit
6228f72b87
7 changed files with 63 additions and 2 deletions
|
@ -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&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue