client: export client_geometry_hints

This commit is contained in:
Michael Gehring 2008-06-18 13:58:31 +02:00 committed by Julien Danjou
parent 1c570feff7
commit 60591fe9bd
2 changed files with 3 additions and 2 deletions

View File

@ -420,9 +420,9 @@ client_manage(xcb_window_t w, xcb_get_geometry_reply_t *wgeom, int screen)
/** Compute client geometry with respect to its geometry hints.
* \param c The client.
* \param geometry The geometry that the client might receive.
* \return The geometry the client must take rescping its hints.
* \return The geometry the client must take respecting its hints.
*/
static area_t
area_t
client_geometry_hints(client_t *c, area_t geometry)
{
double dx, dy, max, min, ratio;

View File

@ -33,6 +33,7 @@ void client_raise(client_t *);
void client_ban(client_t *);
void client_unban(client_t *);
void client_manage(xcb_window_t, xcb_get_geometry_reply_t *, int);
area_t client_geometry_hints(client_t *, area_t);
bool client_resize(client_t *, area_t, bool);
void client_unmanage(client_t *);
void client_updatewmhints(client_t *);