aboutsummaryrefslogtreecommitdiff
path: root/sway/config
diff options
context:
space:
mode:
Diffstat (limited to 'sway/config')
-rw-r--r--sway/config/output.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sway/config/output.c b/sway/config/output.c
index 12a875b7..3c36692f 100644
--- a/sway/config/output.c
+++ b/sway/config/output.c
@@ -249,8 +249,7 @@ bool apply_output_config(struct output_config *oc, struct sway_output *output) {
if (!oc || oc->dpms_state != DPMS_OFF) {
wlr_output_enable(wlr_output, true);
}
- output_enable(output, oc);
- return true;
+ return output_enable(output, oc);
}
if (oc && oc->dpms_state == DPMS_ON) {