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

WindowServer: Make WSMenu's be children of the WSClientConnection

This commit is contained in:
Andreas Kling 2019-08-18 12:05:33 +02:00
parent 8aece8f5b7
commit 93f14966c0

View file

@ -13,7 +13,8 @@
#include <WindowServer/WSClientConnection.h>
WSMenu::WSMenu(WSClientConnection* client, int menu_id, const String& name)
: m_client(client)
: CObject(client)
, m_client(client)
, m_menu_id(menu_id)
, m_name(move(name))
{