JWM Source Documentation
place.h
Go to the documentation of this file.
1 
10 #ifndef PLACE_H
11 #define PLACE_H
12 
13 #include "client.h"
14 
15 struct ScreenType;
16 struct TrayType;
17 
19 typedef struct BoundingBox {
20  int x;
21  int y;
22  int width;
23  int height;
24 } BoundingBox;
25 
27 #define InitializePlacement() (void)(0)
28 void StartupPlacement(void);
29 void ShutdownPlacement(void);
30 #define DestroyPlacement() (void)(0)
31 
37 
41 void ReadClientStrut(ClientNode *np);
42 
47 void PlaceClient(ClientNode *np, char alreadyMapped);
48 
54 
59 void GravitateClient(ClientNode *np, char negate);
60 
67 void GetGravityDelta(const ClientNode *np, int gravity, int *x, int *y);
68 
73 char ConstrainSize(ClientNode *np);
74 
79 
84 void GetScreenBounds(const struct ScreenType *sp, BoundingBox *box);
85 
86 #endif /* PLACE_H */
87 

joewing.net / Projects / JWM