Fixed last commit

This commit is contained in:
Lorenzo Torres 2025-08-05 20:59:58 +02:00
parent b1bd949db5
commit 00d51fc970
8 changed files with 24 additions and 85 deletions

View file

@ -190,11 +190,10 @@ fn toplevelHandleConfigure(data: ?*anyopaque, toplevel: ?*c.xdg_toplevel, width:
}
fn toplevelHandleClose(data: ?*anyopaque, toplevel: ?*c.xdg_toplevel) callconv(.c) void {
const state: *State = @alignCast(@ptrCast(data));
_ = date;
_ = toplevel;
quit = true;
state.pool.resources.renderer.deinit();
}
fn toplevelHandleConfigureBounds(data: ?*anyopaque, toplevel: ?*c.xdg_toplevel, width: i32, height: i32) callconv(.c) void {