diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2019-10-26 13:59:19 +0200 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2019-10-26 13:59:19 +0200 |
| commit | 5daae5e8f07287e40a0cb6afa5fa444a4bb0cac4 (patch) | |
| tree | 5bb86b3f7bd50e1c1d0ef3984b16e8c66c6a9fe4 /include | |
| parent | a8d689d4d9a71351d5f397acc23222f7151ff34d (diff) | |
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')
| -rw-r--r-- | include/sway/output.h | 2 |
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); void output_sort_workspaces(struct sway_output *output); -void output_enable(struct sway_output *output, struct output_config *oc); +bool output_enable(struct sway_output *output, struct output_config *oc); void output_disable(struct sway_output *output); |
