diff --git a/include/view.h b/include/view.h index 824657e8..2b81e609 100644 --- a/include/view.h +++ b/include/view.h @@ -481,6 +481,7 @@ void view_on_output_destroy(struct view *view); void view_connect_map(struct view *view, struct wlr_surface *surface); void view_destroy(struct view *view); +struct output *view_get_adjacent_output(struct view *view, enum view_edge edge); enum view_axis view_axis_parse(const char *direction); enum view_edge view_edge_parse(const char *direction); diff --git a/src/view.c b/src/view.c index 8c26a8f1..1788f3ed 100644 --- a/src/view.c +++ b/src/view.c @@ -1465,7 +1465,7 @@ view_on_output_destroy(struct view *view) view->output = NULL; } -static struct output * +struct output * view_get_adjacent_output(struct view *view, enum view_edge edge) { assert(view);