build: require wlroots version 0.17.2

This fixes a crash that users have hit fairly often in the wild using
Xwayland and allows us to remove an ugly workaround for another issue.
This commit is contained in:
Isaac Freund
2024-03-11 19:14:37 +01:00
parent 49a779b24d
commit c474be1537
2 changed files with 2 additions and 13 deletions

View File

@ -31,8 +31,8 @@ const util = @import("util.zig");
const Server = @import("Server.zig");
comptime {
if (wlr.version.major != 0 or wlr.version.minor != 17 or wlr.version.micro < 1) {
@compileError("river requires at least wlroots version 0.17.1 due to bugs in wlroots 0.17.0");
if (wlr.version.major != 0 or wlr.version.minor != 17 or wlr.version.micro < 2) {
@compileError("river requires at least wlroots version 0.17.2 due to bugs in wlroots 0.17.0/0.17.1");
}
}