- fleshing out event system and window manager
- added tests back in for window management
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user