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 /riverctl/main.zig | |
| parent | 1b6e6de99e27fce9ed2212ba550bc3b4d9cc03c3 (diff) | |
| download | river-ec2c50b33f12b5993eaf764df6fd712b28587dfd.tar.gz river-ec2c50b33f12b5993eaf764df6fd712b28587dfd.tar.xz | |
deps: update to latest zig-wayland
Diffstat (limited to 'riverctl/main.zig')
| -rw-r--r-- | riverctl/main.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/riverctl/main.zig b/riverctl/main.zig index 64434e2..8837f79 100644 --- a/riverctl/main.zig +++ b/riverctl/main.zig @@ -55,7 +55,7 @@ fn _main() !void { var globals = Globals{}; - registry.setListener(*Globals, registryListener, &globals) catch unreachable; + registry.setListener(*Globals, registryListener, &globals); _ = try display.roundtrip(); const control = globals.control orelse return error.RiverControlNotAdvertised; @@ -68,7 +68,7 @@ fn _main() !void { const callback = try control.runCommand(seat); - callback.setListener(?*c_void, callbackListener, null) catch unreachable; + callback.setListener(?*c_void, callbackListener, null); // Loop until our callback is called and we exit. while (true) _ = try display.dispatch(); |
