diff options
author | arg@10ksloc.org <unknown> | 2006-08-01 12:32:33 +0200 |
---|---|---|
committer | arg@10ksloc.org <unknown> | 2006-08-01 12:32:33 +0200 |
commit | 7b5638f61d5c8b5a76bc3f7a5962cb7490da3b6b (patch) | |
tree | 4f002a641211db4af64bd925497d56469082b712 /dwm.h | |
parent | 937cabfa0aad7eef6d25e9d142a478163de200c5 (diff) |
applied Sanders patches
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 }; /* END CUSTOMIZE */ +/* mask shorthands, used in event.c and client.c */ +#define ButtonMask (ButtonPressMask | ButtonReleaseMask) +#define MouseMask (ButtonMask | PointerMotionMask) + typedef union Arg Arg; typedef struct Client Client; -typedef enum Corner Corner; typedef struct DC DC; typedef struct Fnt Fnt; @@ -43,7 +46,8 @@ enum { WMProtocols, WMDelete, WMLast }; /* cursor */ enum { CurNormal, CurResize, CurMove, CurLast }; -enum Corner { TopLeft, TopRight, BotLeft, BotRight }; +/* windowcorners */ +typedef enum { TopLeft, TopRight, BotLeft, BotRight } Corner; struct Fnt { int ascent; |