Mercurial > dwm-meillo
diff dwm.h @ 143:36cabfe408cd
applied Sanders patches
author | arg@10ksloc.org |
---|---|
date | Tue, 01 Aug 2006 12:32:33 +0200 |
parents | 9b9deafa0508 |
children | e61447a7f249 |
line wrap: on
line diff
--- a/dwm.h Tue Aug 01 11:49:19 2006 +0200 +++ b/dwm.h Tue Aug 01 12:32:33 2006 +0200 @@ -25,9 +25,12 @@ /* 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 @@ /* cursor */ enum { CurNormal, CurResize, CurMove, CurLast }; -enum Corner { TopLeft, TopRight, BotLeft, BotRight }; +/* windowcorners */ +typedef enum { TopLeft, TopRight, BotLeft, BotRight } Corner; struct Fnt { int ascent;