aboutsummaryrefslogtreecommitdiff
path: root/sway/desktop/surface.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/desktop/surface.c')
-rw-r--r--sway/desktop/surface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/desktop/surface.c b/sway/desktop/surface.c
index 949cfdc2..68772ee0 100644
--- a/sway/desktop/surface.c
+++ b/sway/desktop/surface.c
@@ -47,7 +47,7 @@ void handle_compositor_new_surface(struct wl_listener *listener, void *data) {
}
}
-static void surface_update_outputs(struct wlr_surface *surface) {
+void surface_update_outputs(struct wlr_surface *surface) {
float scale = 1;
struct wlr_surface_output *surface_output;
wl_list_for_each(surface_output, &surface->current_outputs, link) {