- fleshing out event system and window manager

- added tests back in for window management
This commit is contained in:
2025-12-27 07:19:53 -05:00
parent 184bc7fcdf
commit ecf1cfc29c
12 changed files with 116 additions and 52 deletions

View File

@@ -77,14 +77,6 @@ void wayland_window::initialize() {
return;
}
root = parent;
while (root != nullptr and root->is_popup()) {
root = static_cast<wayland_window*>(root->get_parent());
}
assertf(root != nullptr, "Failed to find appropriate top-level window.");
wayland_server* wl_server = static_cast<wayland_server*>(server);
surface = wl_compositor_create_surface(wl_server->compositor);