mirror of
https://github.com/MezzalunaWM/Mezzaluna.git
synced 2026-03-07 19:49:53 -05:00
fixed adding two scene trees bug
This commit is contained in:
parent
76b9d13798
commit
f9e67a5681
5 changed files with 36 additions and 39 deletions
|
|
@ -168,7 +168,6 @@ fn handleNewXdgToplevel(
|
|||
) void {
|
||||
if(View.initFromTopLevel(xdg_toplevel)) |view| {
|
||||
std.log.debug("Adding new view {s}", .{view.xdg_toplevel.title orelse "(null)"});
|
||||
server.root.addView(view);
|
||||
} else {
|
||||
std.log.err("Unable to allocate new view", .{});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue