diff options
Diffstat (limited to 'sway')
-rw-r--r-- | sway/config/output.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sway/config/output.c b/sway/config/output.c index 8dfa8c57..19b9989a 100644 --- a/sway/config/output.c +++ b/sway/config/output.c @@ -425,6 +425,10 @@ bool apply_output_config(struct output_config *oc, struct sway_output *output) { return false; } + if (oc && !oc->enabled) { + return true; + } + if (config->reloading) { output_damage_whole(output); } @@ -464,7 +468,7 @@ bool apply_output_config(struct output_config *oc, struct sway_output *output) { output->width = output_box->width; output->height = output_box->height; - if ((!oc || oc->enabled) && !output->configured) { + if (!output->configured) { output_configure(output); } |