aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2023-02-28 12:51:59 +0100
committerFurkan Sahin <furkan-dev@proton.me>2023-02-28 12:51:59 +0100
commit0b7f9a6243dbc64a780c40b50592d12d16594876 (patch)
treec0ebb0ab0b6c2f3797fa1e34dcb344fe12028dc1 /include
parent0edfba1fd303c77134de8d056951d62194e11f45 (diff)
Use output_match_name_or_id() in apply_output_config_to_outputs()
Diffstat (limited to 'include')
-rw-r--r--include/sway/output.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sway/output.h b/include/sway/output.h
index 2aa1b278..04202976 100644
--- a/include/sway/output.h
+++ b/include/sway/output.h
@@ -96,6 +96,9 @@ 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);
+bool output_match_name_or_id(struct sway_output *output,
+ const char *name_or_id);
+
// this ONLY includes the enabled outputs
struct sway_output *output_by_name_or_id(const char *name_or_id);