client: export client_geometry_hints
This commit is contained in:
parent
1c570feff7
commit
60591fe9bd
4
client.c
4
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;
|
||||
|
|
1
client.h
1
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 *);
|
||||
|
|
Loading…
Reference in New Issue