diff --git a/include/view.h b/include/view.h index 1fb9d911..d00c9a98 100644 --- a/include/view.h +++ b/include/view.h @@ -121,8 +121,6 @@ void view_move_resize(struct view *view, struct wlr_box geo); void view_move(struct view *view, int x, int y); void view_moved(struct view *view); void view_minimize(struct view *view, bool minimized); -/* view_wlr_output - return the output that a view is mostly on */ -struct wlr_output *view_wlr_output(struct view *view); void view_store_natural_geometry(struct view *view); void view_center(struct view *view); void view_restore_to(struct view *view, struct wlr_box geometry); diff --git a/src/view.c b/src/view.c index 8f9d0055..956514d8 100644 --- a/src/view.c +++ b/src/view.c @@ -220,7 +220,7 @@ view_minimize(struct view *view, bool minimized) } /* view_wlr_output - return the output that a view is mostly on */ -struct wlr_output * +static struct wlr_output * view_wlr_output(struct view *view) { assert(view);