river-status: correctly advertise version 4

This should have been a compile error but slipped through due to a bug
in zig-wayland. This bug has now been fixed and the submodule updated.
This commit is contained in:
MaxVerevkin
2022-12-01 22:05:14 +02:00
committed by Isaac Freund
parent 76000c3603
commit e603c5460a
3 changed files with 3 additions and 3 deletions

View File

@ -39,7 +39,7 @@ server_destroy: wl.Listener(*wl.Server) = wl.Listener(*wl.Server).init(handleSer
pub fn init(self: *Self) !void {
self.* = .{
.global = try wl.Global.create(server.wl_server, zriver.StatusManagerV1, 3, ?*anyopaque, null, bind),
.global = try wl.Global.create(server.wl_server, zriver.StatusManagerV1, 4, ?*anyopaque, null, bind),
};
server.wl_server.addDestroyListener(&self.server_destroy);