equal
deleted
inserted
replaced
23 /* tags */ |
23 /* tags */ |
24 enum { Tfnord, Tdev, Tnet, Twork, Tmisc, TLast }; |
24 enum { Tfnord, Tdev, Tnet, Twork, Tmisc, TLast }; |
25 |
25 |
26 /* END CUSTOMIZE */ |
26 /* END CUSTOMIZE */ |
27 |
27 |
|
28 /* mask shorthands, used in event.c and client.c */ |
|
29 #define ButtonMask (ButtonPressMask | ButtonReleaseMask) |
|
30 #define MouseMask (ButtonMask | PointerMotionMask) |
|
31 |
28 typedef union Arg Arg; |
32 typedef union Arg Arg; |
29 typedef struct Client Client; |
33 typedef struct Client Client; |
30 typedef enum Corner Corner; |
|
31 typedef struct DC DC; |
34 typedef struct DC DC; |
32 typedef struct Fnt Fnt; |
35 typedef struct Fnt Fnt; |
33 |
36 |
34 union Arg { |
37 union Arg { |
35 const char **argv; |
38 const char **argv; |
41 enum { WMProtocols, WMDelete, WMLast }; |
44 enum { WMProtocols, WMDelete, WMLast }; |
42 |
45 |
43 /* cursor */ |
46 /* cursor */ |
44 enum { CurNormal, CurResize, CurMove, CurLast }; |
47 enum { CurNormal, CurResize, CurMove, CurLast }; |
45 |
48 |
46 enum Corner { TopLeft, TopRight, BotLeft, BotRight }; |
49 /* windowcorners */ |
|
50 typedef enum { TopLeft, TopRight, BotLeft, BotRight } Corner; |
47 |
51 |
48 struct Fnt { |
52 struct Fnt { |
49 int ascent; |
53 int ascent; |
50 int descent; |
54 int descent; |
51 int height; |
55 int height; |