[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; return false;
/* offscreen appearance fixes */ /* offscreen appearance fixes */
area = get_display_area(c->phys_screen, NULL, area = display_area_get(c->phys_screen, NULL,
&globalconf.screens[c->screen].padding); &globalconf.screens[c->screen].padding);
if(geometry.x > area.width) 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. * \return The display area.
*/ */
area_t 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 }; area_t area = { 0, 0, 0, 0, NULL, NULL };
statusbar_t *sb; statusbar_t *sb;

View File

@ -25,7 +25,7 @@
#include "structs.h" #include "structs.h"
area_t screen_get_area(int, statusbar_t *, padding_t *); 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); int screen_virttophys(int);
void move_client_to_screen(client_t *, int, bool); 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))) if((data = xcb_get_property_value(prop_r)))
{ {
rootpix = *(xcb_pixmap_t *) data; 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) switch(position)
{ {
case Left: case Left: