diff --git a/view.c b/view.c index 5514e17..d22520d 100644 --- a/view.c +++ b/view.c @@ -24,7 +24,7 @@ view_activate(struct cg_view *view, bool activate) view->activate(view, activate); } -void +static void view_maximize(struct cg_view *view) { struct cg_output *output = view->server->output; @@ -34,7 +34,7 @@ view_maximize(struct cg_view *view) view->maximize(view, output_width, output_height); } -void +static void view_center(struct cg_view *view) { struct cg_server *server = view->server; diff --git a/view.h b/view.h index 904e22b..b38a2c7 100644 --- a/view.h +++ b/view.h @@ -52,8 +52,6 @@ struct cg_view { }; void view_activate(struct cg_view *view, bool activate); -void view_maximize(struct cg_view *view); -void view_center(struct cg_view *view); void view_for_each_surface(struct cg_view *view, wlr_surface_iterator_func_t iterator, void *data); struct wlr_surface *view_wlr_surface_at(struct cg_view *view, double sx, double sy, double *sub_x, double *sub_y);