aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/sway/output.h3
-rw-r--r--sway/desktop/output.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/include/sway/output.h b/include/sway/output.h
index 4584ea45..f6354e0e 100644
--- 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
index d1facdea..d6a18252 100644
--- 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;