deps: update to latest zig-wayland

This commit is contained in:
Isaac Freund
2021-04-27 12:24:30 +02:00
parent 1b6e6de99e
commit ec2c50b33f
4 changed files with 8 additions and 8 deletions

View File

@ -104,7 +104,7 @@ const Output = struct {
fn getLayout(output: *Output, context: *Context) !void {
assert(context.initialized);
output.layout = try context.layout_manager.?.getLayout(output.wl_output, "rivertile");
output.layout.setListener(*Output, layoutListener, output) catch unreachable;
output.layout.setListener(*Output, layoutListener, output);
}
fn deinit(output: *Output) void {
@ -299,7 +299,7 @@ pub fn main() !void {
var context: Context = .{};
const registry = try display.getRegistry();
registry.setListener(*Context, registryListener, &context) catch unreachable;
registry.setListener(*Context, registryListener, &context);
_ = try display.roundtrip();
if (context.layout_manager == null) {