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
No known key found for this signature in database
GPG Key ID: 86DED400DDFD7A11
3 changed files with 3 additions and 3 deletions

View File

@ -112,7 +112,7 @@ pub fn build(b: *zbs.Builder) !void {
scanner.generate("ext_session_lock_manager_v1", 1);
scanner.generate("zriver_control_v1", 1);
scanner.generate("zriver_status_manager_v1", 3);
scanner.generate("zriver_status_manager_v1", 4);
scanner.generate("river_layout_manager_v3", 2);
scanner.generate("zwlr_layer_shell_v1", 4);

2
deps/zig-wayland vendored

@ -1 +1 @@
Subproject commit f64abbd016a918fe6e74e0cf337410cecad5eb5d
Subproject commit e76a8abbfdfdce5019235078d4adca3ab4391430

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);