]> git.mdlowis.com Git - proto/labwc.git/commitdiff
view: expose view_get_adjacent_output
authorJens Peters <jp7677@gmail.com>
Sun, 21 Jan 2024 22:40:25 +0000 (23:40 +0100)
committerJohan Malm <johanmalm@users.noreply.github.com>
Mon, 22 Jan 2024 22:27:08 +0000 (22:27 +0000)
include/view.h
src/view.c

index 824657e8166700d40e112e7c676ff4e641a5a9c4..2b81e609acc17d2bcdb6893bc8503434e9bd8a9a 100644 (file)
@@ -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);
 
index 8c26a8f126591df24d03b80e1241662f19ee14dd..1788f3ed91784301c295b4c43e8fbf8dd05e00e9 100644 (file)
@@ -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);