commit 38005bd85461d1e65295aacbf7f4d00e54295032
parent 10e50e6bf9b63b205c141f97a5709fd4d405542f
Author: Alexander Orzechowski <alex@ozal.ski>
Date: Tue, 18 Feb 2025 12:38:44 -0500
output: Expose output_configure_scene to header
Diffstat:
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/include/sway/output.h b/include/sway/output.h
@@ -91,6 +91,9 @@ struct sway_output *output_from_wlr_output(struct wlr_output *output);
struct sway_output *output_get_in_direction(struct sway_output *reference,
enum wlr_direction direction);
+void output_configure_scene(struct sway_output *output,
+ struct wlr_scene_node *node, float opacity);
+
void output_add_workspace(struct sway_output *output,
struct sway_workspace *workspace);
diff --git a/sway/desktop/output.c b/sway/desktop/output.c
@@ -202,7 +202,7 @@ static enum wlr_scale_filter_mode get_scale_filter(struct sway_output *output,
}
}
-static void output_configure_scene(struct sway_output *output,
+void output_configure_scene(struct sway_output *output,
struct wlr_scene_node *node, float opacity) {
if (!node->enabled) {
return;