From 29009ddd77c0ad8dd92086bbcad789d7a1dd7b49 Mon Sep 17 00:00:00 2001 From: Jente Hidskes Date: Thu, 10 Jan 2019 15:57:23 +0100 Subject: [PATCH] view: hide maximize and center functions This is now handled in view_position. --- view.c | 4 ++-- view.h | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) 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);