]> git.mdlowis.com Git - proto/labwc.git/commitdiff
src/view.c: make view_wlr_output() static
authorConsolatis <35009135+Consolatis@users.noreply.github.com>
Thu, 2 Feb 2023 12:40:19 +0000 (13:40 +0100)
committerConsolatis <35009135+Consolatis@users.noreply.github.com>
Thu, 2 Feb 2023 12:40:21 +0000 (13:40 +0100)
.. as there are no external consumers left.

include/view.h
src/view.c

index 1fb9d9112367eebc17e929521d27f18760eeb996..d00c9a9887d987de60ccdca81f8f0fbcb4c6c7cd 100644 (file)
@@ -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);
index 8f9d005535686ad29b93e513ad439d3d5b8c2ab3..956514d8de3eeaa8006206069e56a81ab512db89 100644 (file)
@@ -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);