mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:37:35 +00:00
WindowServer: Tell WSWindows who their CObject parent is
Instead of using a weird "internal owner" pointer, just set the owning object as the CObject::parent of WSWindow.
This commit is contained in:
parent
68e94f0a2e
commit
9d57e7ed68
2 changed files with 8 additions and 6 deletions
|
@ -153,7 +153,6 @@ private:
|
|||
void handle_mouse_event(const WSMouseEvent&);
|
||||
|
||||
WSClientConnection* m_client { nullptr };
|
||||
CObject* m_internal_owner { nullptr };
|
||||
String m_title;
|
||||
Rect m_rect;
|
||||
WSWindowType m_type { WSWindowType::Normal };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue