aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/output.h
diff options
context:
space:
mode:
authorLibravatar Simon Ser <contact@emersion.fr>2019-10-26 13:59:19 +0200
committerLibravatar Drew DeVault <sir@cmpwn.com>2019-10-27 10:51:02 -0400
commit58a40ce07b2e20e6fca70fba4c2775510928d33e (patch)
tree5bb86b3f7bd50e1c1d0ef3984b16e8c66c6a9fe4 /include/sway/output.h
parentFix tiled containers resize with mouse (diff)
downloadsway-58a40ce07b2e20e6fca70fba4c2775510928d33e.tar.gz
sway-58a40ce07b2e20e6fca70fba4c2775510928d33e.tar.zst
sway-58a40ce07b2e20e6fca70fba4c2775510928d33e.zip
Fix apply_output_config return value when enabling output
apply_output_config would call output_enable and always return true, even if the output couldn't be enabled.
Diffstat (limited to 'include/sway/output.h')
-rw-r--r--include/sway/output.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sway/output.h b/include/sway/output.h
index b94824b4..c52b3094 100644
--- a/include/sway/output.h
+++ b/include/sway/output.h
@@ -90,7 +90,7 @@ struct sway_output *all_output_by_name_or_id(const char *name_or_id);
90 90
91void output_sort_workspaces(struct sway_output *output); 91void output_sort_workspaces(struct sway_output *output);
92 92
93void output_enable(struct sway_output *output, struct output_config *oc); 93bool output_enable(struct sway_output *output, struct output_config *oc);
94 94
95void output_disable(struct sway_output *output); 95void output_disable(struct sway_output *output);
96 96