aboutsummaryrefslogtreecommitdiff
path: root/src/place.h
blob: 7508881ffe5561754397682de578a31e1946e7db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/**
 * @file place.h
 * @author Joe Wingbermuehle
 * @date 2004-2006
 *
 * @brief Header for client placement functions.
 *
 */

#ifndef PLACE_H
#define PLACE_H

struct ClientNode;

/*@{*/
void InitializePlacement();
void StartupPlacement();
void ShutdownPlacement();
void DestroyPlacement();
/*@}*/

void RemoveClientStrut(struct ClientNode *np);
void ReadClientStrut(struct ClientNode *np);

void PlaceClient(struct ClientNode *np, int alreadyMapped);
void PlaceMaximizedClient(struct ClientNode *np);
void GravitateClient(struct ClientNode *np, int negate);

void GetGravityDelta(const struct ClientNode *np, int *x, int *y);

void ConstrainSize(struct ClientNode *np);

#endif