build: fix if wlroots x11 backend is disabled
This commit is contained in:
parent
26b0acddb7
commit
27cac16ced
2
deps/zig-wlroots
vendored
2
deps/zig-wlroots
vendored
@ -1 +1 @@
|
||||
Subproject commit 1bdbb7a15a4038ff8bf7c9272c6a4d6eeb64ffa2
|
||||
Subproject commit 35e5676b1a77b2a44f370280b78b0d38598d97ee
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user