s/client_titlebar_update_position/client_titlebar_update_geometry/g

This commit is contained in:
Julien Danjou 2008-03-14 18:24:41 +01:00
parent b51e352ed8
commit bb453bd444
5 changed files with 8 additions and 8 deletions

View File

@ -490,7 +490,7 @@ client_manage(Window w, XWindowAttributes *wa, int screen)
} }
area_t area_t
client_titlebar_update_position(Client *c, area_t geometry) client_titlebar_update_geometry(Client *c, area_t geometry)
{ {
if(!c->titlebar.position) if(!c->titlebar.position)
return geometry;; return geometry;;

View File

@ -31,7 +31,7 @@ void client_focus(Client *, int, Bool);
void client_ban(Client *); void client_ban(Client *);
void client_unban(Client *); void client_unban(Client *);
void client_manage(Window, XWindowAttributes *, int); void client_manage(Window, XWindowAttributes *, int);
area_t client_titlebar_update_position(Client *, area_t); area_t client_titlebar_update_geometry(Client *, area_t);
area_t client_geometry_hints(Client *, area_t); area_t client_geometry_hints(Client *, area_t);
Bool client_resize(Client *, area_t); Bool client_resize(Client *, area_t);
void client_unmanage(Client *); void client_unmanage(Client *);

View File

@ -85,10 +85,10 @@ layout_fibonacci(int screen, int shape)
if(globalconf.screens[screen].resize_hints) if(globalconf.screens[screen].resize_hints)
client_resize(c, client_resize(c,
client_geometry_hints(c, client_geometry_hints(c,
client_titlebar_update_position(c, client_titlebar_update_geometry(c,
geometry))); geometry)));
else else
client_resize(c, client_titlebar_update_position(c, geometry)); client_resize(c, client_titlebar_update_geometry(c, geometry));
geometry.width += 2 * c->border; geometry.width += 2 * c->border;
geometry.height += 2 * c->border; geometry.height += 2 * c->border;
} }

View File

@ -43,10 +43,10 @@ layout_max(int screen)
if(globalconf.screens[screen].resize_hints) if(globalconf.screens[screen].resize_hints)
client_resize(c, client_resize(c,
client_geometry_hints(c, client_geometry_hints(c,
client_titlebar_update_position(c, client_titlebar_update_geometry(c,
area))); area)));
else else
client_resize(c, client_titlebar_update_position(c, area)); client_resize(c, client_titlebar_update_geometry(c, area));
area.width += 2 * c->border; area.width += 2 * c->border;
area.height += 2 * c->border; area.height += 2 * c->border;
} }

View File

@ -207,7 +207,7 @@ _tile(int screen, const Position position)
geometry.width = mw - 2 * c->border; geometry.width = mw - 2 * c->border;
geometry.height = mh - 2 * c->border; geometry.height = mh - 2 * c->border;
geometry = client_titlebar_update_position(c, geometry); geometry = client_titlebar_update_geometry(c, geometry);
if(globalconf.screens[screen].resize_hints) if(globalconf.screens[screen].resize_hints)
geometry = client_geometry_hints(c, geometry); geometry = client_geometry_hints(c, geometry);
@ -263,7 +263,7 @@ _tile(int screen, const Position position)
geometry.y += mh; geometry.y += mh;
} }
geometry = client_titlebar_update_position(c, geometry); geometry = client_titlebar_update_geometry(c, geometry);
if(globalconf.screens[screen].resize_hints) if(globalconf.screens[screen].resize_hints)
geometry = client_geometry_hints(c, geometry); geometry = client_geometry_hints(c, geometry);