build: fix if wlroots x11 backend is disabled
This commit is contained in:
2
deps/zig-wlroots
vendored
2
deps/zig-wlroots
vendored
Submodule deps/zig-wlroots updated: 1bdbb7a15a...35e5676b1a
@ -560,7 +560,7 @@ pub fn getEffectiveResolution(self: *Self) struct { width: u32, height: u32 } {
|
|||||||
pub fn setTitle(self: *Self, title: [*:0]const u8) void {
|
pub fn setTitle(self: *Self, title: [*:0]const u8) void {
|
||||||
if (self.wlr_output.isWl()) {
|
if (self.wlr_output.isWl()) {
|
||||||
self.wlr_output.wlSetTitle(title);
|
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);
|
self.wlr_output.x11SetTitle(title);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user