Wayland compositor (wlroots)
git clone https://git.lucas.co/cce-compositor.git
build: fix if wlroots x11 backend is disabled
deps/zig-wlroots | 2 +-
river/Output.zig | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/deps/zig-wlroots b/deps/zig-wlroots
index 1bdbb7a..35e5676 160000
--- a/deps/zig-wlroots
+++ b/deps/zig-wlroots
@@ -1 +1 @@
-Subproject commit 1bdbb7a15a4038ff8bf7c9272c6a4d6eeb64ffa2
+Subproject commit 35e5676b1a77b2a44f370280b78b0d38598d97ee
diff --git a/river/Output.zig b/river/Output.zig
index b9600be..03c9f0f 100644
--- a/river/Output.zig
+++ b/river/Output.zig
@@ -560,7 +560,7 @@ pub fn getEffectiveResolution(self: *Self) struct { width: u32, height: u32 } {
pub fn setTitle(self: *Self, title: [*:0]const u8) void {
if (self.wlr_output.isWl()) {
self.wlr_output.wlSetTitle(title);
- } else if (self.wlr_output.isX11()) {
+ } else if (wlr.config.has_x11_backend and self.wlr_output.isX11()) {
self.wlr_output.x11SetTitle(title);
}
}