From 60591fe9bdef890c7607f36b96fec8a933ea43c2 Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Wed, 18 Jun 2008 13:58:31 +0200 Subject: [PATCH] client: export client_geometry_hints --- client.c | 4 ++-- client.h | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/client.c b/client.c index 924ad72ad..c74e95f7a 100644 --- a/client.c +++ b/client.c @@ -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; diff --git a/client.h b/client.h index ff304d344..7e977fda1 100644 --- a/client.h +++ b/client.h @@ -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 *);