-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclient.h
More file actions
40 lines (30 loc) · 740 Bytes
/
client.h
File metadata and controls
40 lines (30 loc) · 740 Bytes
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
35
36
37
38
39
40
// Local Variables:
// mode: c++
// End:
#ifndef CLIENT_H_
#define CLIENT_H_
#include <X11/Xlib.h>
#include <X11/Xutil.h>
/* client structure */
typedef struct Client Client;
struct Client {
Client *next;
Window window;
Window parent;
XSizeHints *size;
int x, y, width, height;
int oldx, oldy, oldw, oldh; /* used when maximising */
int border;
int vdesk;
char* name;
int index;
char mark;
};
Client* find_client(Window w);
void change_gravity(Client *c, int multiplier);
void remove_client(Client *c, int from_cleanup);
void send_config(Client *c);
void send_wm_delete(Client *c);
void set_wm_state(Client *c, int state);
void make_new_client(Window w);
#endif /* CLIENT_H_ */