diff --git a/client.c b/client.c index 90a7a784..db5ab84e 100644 --- a/client.c +++ b/client.c @@ -500,7 +500,7 @@ client_resize(client_t *c, area_t geometry, bool hints) return false; /* offscreen appearance fixes */ - area = get_display_area(c->phys_screen, NULL, + area = display_area_get(c->phys_screen, NULL, &globalconf.screens[c->screen].padding); if(geometry.x > area.width) diff --git a/screen.c b/screen.c index dee11b64..65d8d1c3 100644 --- a/screen.c +++ b/screen.c @@ -80,7 +80,7 @@ screen_get_area(int screen, statusbar_t *statusbar, padding_t *padding) * \return The display area. */ area_t -get_display_area(int phys_screen, statusbar_t *statusbar, padding_t *padding) +display_area_get(int phys_screen, statusbar_t *statusbar, padding_t *padding) { area_t area = { 0, 0, 0, 0, NULL, NULL }; statusbar_t *sb; diff --git a/screen.h b/screen.h index ec404616..1ce5ea97 100644 --- a/screen.h +++ b/screen.h @@ -25,7 +25,7 @@ #include "structs.h" area_t screen_get_area(int, statusbar_t *, padding_t *); -area_t get_display_area(int, statusbar_t *, padding_t *); +area_t display_area_get(int, statusbar_t *, padding_t *); int screen_virttophys(int); void move_client_to_screen(client_t *, int, bool); diff --git a/widget.c b/widget.c index 7ae3d9bf..5be53aee 100644 --- a/widget.c +++ b/widget.c @@ -159,7 +159,7 @@ widget_render(widget_node_t *wnode, draw_context_t *ctx, xcb_gcontext_t gc, xcb_ if((data = xcb_get_property_value(prop_r))) { rootpix = *(xcb_pixmap_t *) data; - rootsize = get_display_area(ctx->phys_screen, NULL, NULL); + rootsize = display_area_get(ctx->phys_screen, NULL, NULL); switch(position) { case Left: