diff options
| author | Isaac Freund <ifreund@ifreund.xyz> | 2021-04-27 12:24:30 +0200 |
|---|---|---|
| committer | Isaac Freund <ifreund@ifreund.xyz> | 2021-04-27 12:24:30 +0200 |
| commit | ec2c50b33f12b5993eaf764df6fd712b28587dfd (patch) | |
| tree | c78632883122f01a9f940e2402515909f3c8fb4d /rivertile/main.zig | |
| parent | 1b6e6de99e27fce9ed2212ba550bc3b4d9cc03c3 (diff) | |
| download | river-ec2c50b33f12b5993eaf764df6fd712b28587dfd.tar.gz river-ec2c50b33f12b5993eaf764df6fd712b28587dfd.tar.xz | |
deps: update to latest zig-wayland
Diffstat (limited to 'rivertile/main.zig')
| -rw-r--r-- | rivertile/main.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rivertile/main.zig b/rivertile/main.zig index 29d9665..27e03ca 100644 --- a/rivertile/main.zig +++ b/rivertile/main.zig @@ -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) { |
