mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
view: expose view_get_adjacent_output
This commit is contained in:
parent
099929cf46
commit
982df84407
2 changed files with 2 additions and 1 deletions
|
|
@ -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_connect_map(struct view *view, struct wlr_surface *surface);
|
||||||
void view_destroy(struct view *view);
|
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_axis view_axis_parse(const char *direction);
|
||||||
enum view_edge view_edge_parse(const char *direction);
|
enum view_edge view_edge_parse(const char *direction);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1465,7 +1465,7 @@ view_on_output_destroy(struct view *view)
|
||||||
view->output = NULL;
|
view->output = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct output *
|
struct output *
|
||||||
view_get_adjacent_output(struct view *view, enum view_edge edge)
|
view_get_adjacent_output(struct view *view, enum view_edge edge)
|
||||||
{
|
{
|
||||||
assert(view);
|
assert(view);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue