diff options
Diffstat (limited to 'dwm.h')
| -rw-r--r-- | dwm.h | 8 |
1 files changed, 6 insertions, 2 deletions
| @@ -25,9 +25,12 @@ 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 | ||
| @@ -43,7 +46,8 @@ enum { WMProtocols, WMDelete, WMLast }; | |||
| 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; |
