[screen] s/get_display_area/display_area_get/

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-06-04 15:34:11 +02:00
parent fa08ec5316
commit 5f2585d82e
4 changed files with 4 additions and 4 deletions

View file

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

View file

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

View file

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

View file

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