git.lucas.co / cce-compositor
Wayland compositor (wlroots)
git clone https://git.lucas.co/cce-compositor.git

commit4384719b86039c413caebad3593e8e958d53e08f
parent3cf279b028
authorKirill Primak <[email protected]>
date2026-04-18 18:43
river: log whether Xwayland is disabled at runtime

 river/main.zig | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/river/main.zig b/river/main.zig
index 6aa89be..a0966b7 100644
--- a/river/main.zig
+++ b/river/main.zig
@@ -118,6 +118,9 @@ pub fn main() anyerror!void {
     try detectClassic(startup_command);
 
     log.info("initializing river version {s}", .{full_version});
+    if (build_options.xwayland and !runtime_xwayland) {
+        log.info("Xwayland disabled at runtime with -no-xwayland", .{});
+    }
 
     river_init_wlroots_log(switch (runtime_log_level) {
         .debug => .debug,