aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsaac Freund <ifreund@ifreund.xyz>2021-03-01 14:54:36 +0100
committerIsaac Freund <ifreund@ifreund.xyz>2021-03-01 14:54:36 +0100
commit27cac16ced8ec4a93ac6dec224a4ccabd70f4659 (patch)
tree0b6b1d1a24631294fa3e84f1be3aae4e3880c73d
parent26b0acddb7c56311b9d476c059d1e9af9d27dfbf (diff)
downloadriver-27cac16ced8ec4a93ac6dec224a4ccabd70f4659.tar.gz
river-27cac16ced8ec4a93ac6dec224a4ccabd70f4659.tar.xz
build: fix if wlroots x11 backend is disabled
m---------deps/zig-wlroots0
-rw-r--r--river/Output.zig2
2 files changed, 1 insertions, 1 deletions
diff --git a/deps/zig-wlroots b/deps/zig-wlroots
-Subproject 1bdbb7a15a4038ff8bf7c9272c6a4d6eeb64ffa
+Subproject 35e5676b1a77b2a44f370280b78b0d38598d97e
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);
}
}