Add child window id to its parent

I had accidentally removed this in b228ef13c4 and it broke all programs
that were using child windows :D
This commit is contained in:
2026-04-15 18:43:03 +03:00
parent 07f2b5dbb7
commit 7be8edada7

View File

@@ -1400,6 +1400,8 @@ BAN::ErrorOr<void> handle_packet(Client& client_info, BAN::ConstByteSpan packet)
if (event_mask != 0)
TRY(object_it->value->object.get<Object::Window>().event_masks.insert(&client_info, event_mask));
TRY(parent_window.children.push_back(request.wid));
if (gui_window_ptr)
{
const WINDOW wid = request.wid;