view: hide maximize and center functions

This is now handled in view_position.
This commit is contained in:
Jente Hidskes 2019-01-10 15:57:23 +01:00
parent a4a3a4954a
commit 29009ddd77
No known key found for this signature in database
GPG key ID: 04BE5A29F32D91EA
2 changed files with 2 additions and 4 deletions

4
view.c
View file

@ -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;

2
view.h
View file

@ -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);