Mercurial > aewl
comparison wm.h @ 19:b5510d0c6d43
added basic mouse support (actually we don't need more)
author | Anselm R. Garbe <garbeam@wmii.de> |
---|---|
date | Tue, 11 Jul 2006 21:41:49 +0200 |
parents | 1efa34c6e1b6 |
children | 4560e0882c1d |
comparison
equal
deleted
inserted
replaced
18:1efa34c6e1b6 | 19:b5510d0c6d43 |
---|---|
11 | 11 |
12 #define WM_PROTOCOL_DELWIN 1 | 12 #define WM_PROTOCOL_DELWIN 1 |
13 | 13 |
14 typedef struct Client Client; | 14 typedef struct Client Client; |
15 typedef struct Key Key; | 15 typedef struct Key Key; |
16 typedef enum Align Align; | |
17 | |
18 enum Align { | |
19 NORTH = 0x01, | |
20 EAST = 0x02, | |
21 SOUTH = 0x04, | |
22 WEST = 0x08, | |
23 NEAST = NORTH | EAST, | |
24 NWEST = NORTH | WEST, | |
25 SEAST = SOUTH | EAST, | |
26 SWEST = SOUTH | WEST, | |
27 CENTER = NEAST | SWEST | |
28 }; | |
29 | 16 |
30 /* atoms */ | 17 /* atoms */ |
31 enum { WMProtocols, WMDelete, WMLast }; | 18 enum { WMProtocols, WMDelete, WMLast }; |
32 enum { NetSupported, NetWMName, NetLast }; | 19 enum { NetSupported, NetWMName, NetLast }; |
33 | 20 |
38 enum { RFloat, RGrid, RLast }; | 25 enum { RFloat, RGrid, RLast }; |
39 | 26 |
40 struct Client { | 27 struct Client { |
41 char name[256]; | 28 char name[256]; |
42 char tag[256]; | 29 char tag[256]; |
43 unsigned int border; | |
44 int proto; | 30 int proto; |
45 Bool fixedsize; | 31 Bool fixedsize; |
46 Window win; | 32 Window win; |
47 Window trans; | 33 Window trans; |
48 Window title; | 34 Window title; |