mirror of
https://github.com/swaywm/sway.git
synced 2025-10-29 05:40:18 -04:00
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.
This commit is contained in:
parent
43bd8dc437
commit
58a40ce07b
3 changed files with 8 additions and 7 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue