diff options
Diffstat (limited to 'sway/commands/xwayland.c')
-rw-r--r-- | sway/commands/xwayland.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/commands/xwayland.c b/sway/commands/xwayland.c index 6ca26923..584a8e3a 100644 --- a/sway/commands/xwayland.c +++ b/sway/commands/xwayland.c @@ -20,6 +20,8 @@ struct cmd_results *cmd_xwayland(int argc, char **argv) { xwayland = XWAYLAND_MODE_DISABLED; } + // config->xwayland is reset to the previous value on reload in + // load_main_config() if (config->reloading && config->xwayland != xwayland) { return cmd_results_new(CMD_FAILURE, "xwayland can only be enabled/disabled at launch"); |