diff options
Diffstat (limited to 'include/sway/output.h')
-rw-r--r-- | include/sway/output.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sway/output.h b/include/sway/output.h index cae77e2e..d4438c0e 100644 --- a/include/sway/output.h +++ b/include/sway/output.h @@ -82,8 +82,12 @@ void output_damage_box(struct sway_output *output, struct wlr_box *box); void output_damage_whole_container(struct sway_output *output, struct sway_container *con); +// this ONLY includes the enabled outputs struct sway_output *output_by_name_or_id(const char *name_or_id); +// this includes all the outputs, including disabled ones +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); |