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:
@@ -1400,6 +1400,8 @@ BAN::ErrorOr<void> handle_packet(Client& client_info, BAN::ConstByteSpan packet)
|
|||||||
if (event_mask != 0)
|
if (event_mask != 0)
|
||||||
TRY(object_it->value->object.get<Object::Window>().event_masks.insert(&client_info, event_mask));
|
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)
|
if (gui_window_ptr)
|
||||||
{
|
{
|
||||||
const WINDOW wid = request.wid;
|
const WINDOW wid = request.wid;
|
||||||
|
|||||||
Reference in New Issue
Block a user