aboutsummaryrefslogtreecommitdiff
path: root/riverctl
diff options
context:
space:
mode:
authorIsaac Freund <ifreund@ifreund.xyz>2021-04-27 12:24:30 +0200
committerIsaac Freund <ifreund@ifreund.xyz>2021-04-27 12:24:30 +0200
commitec2c50b33f12b5993eaf764df6fd712b28587dfd (patch)
treec78632883122f01a9f940e2402515909f3c8fb4d /riverctl
parent1b6e6de99e27fce9ed2212ba550bc3b4d9cc03c3 (diff)
downloadriver-ec2c50b33f12b5993eaf764df6fd712b28587dfd.tar.gz
river-ec2c50b33f12b5993eaf764df6fd712b28587dfd.tar.xz
deps: update to latest zig-wayland
Diffstat (limited to 'riverctl')
-rw-r--r--riverctl/main.zig4
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();