cage: add -x flag to disable XWayland at runtime

Allows disabling XWayland support at runtime even when the binary was
built with it.
This commit is contained in:
David Cohen 2026-04-02 03:17:08 -05:00
parent 71a33b0443
commit a94cdbec67
2 changed files with 44 additions and 28 deletions

View file

@ -72,6 +72,7 @@ struct cg_server {
bool xdg_decoration;
bool allow_vt_switch;
bool enable_xwayland;
bool return_app_code;
bool terminated;
enum wlr_log_importance log_level;