summaryrefslogtreecommitdiffstats
path: root/sway/config/output.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/config/output.c')
-rw-r--r--sway/config/output.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sway/config/output.c b/sway/config/output.c
index ec833ffe..cc5f29db 100644
--- a/sway/config/output.c
+++ b/sway/config/output.c
@@ -176,6 +176,10 @@ void terminate_swaybg(pid_t pid) {
176} 176}
177 177
178bool apply_output_config(struct output_config *oc, struct sway_output *output) { 178bool apply_output_config(struct output_config *oc, struct sway_output *output) {
179 if (output == root->noop_output) {
180 return false;
181 }
182
179 struct wlr_output *wlr_output = output->wlr_output; 183 struct wlr_output *wlr_output = output->wlr_output;
180 184
181 if (oc && !oc->enabled) { 185 if (oc && !oc->enabled) {