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 diff
1.1 --- a/dwm.h Tue Aug 01 11:49:19 2006 +0200 1.2 +++ b/dwm.h Tue Aug 01 12:32:33 2006 +0200 1.3 @@ -25,9 +25,12 @@ 1.4 1.5 /* END CUSTOMIZE */ 1.6 1.7 +/* mask shorthands, used in event.c and client.c */ 1.8 +#define ButtonMask (ButtonPressMask | ButtonReleaseMask) 1.9 +#define MouseMask (ButtonMask | PointerMotionMask) 1.10 + 1.11 typedef union Arg Arg; 1.12 typedef struct Client Client; 1.13 -typedef enum Corner Corner; 1.14 typedef struct DC DC; 1.15 typedef struct Fnt Fnt; 1.16 1.17 @@ -43,7 +46,8 @@ 1.18 /* cursor */ 1.19 enum { CurNormal, CurResize, CurMove, CurLast }; 1.20 1.21 -enum Corner { TopLeft, TopRight, BotLeft, BotRight }; 1.22 +/* windowcorners */ 1.23 +typedef enum { TopLeft, TopRight, BotLeft, BotRight } Corner; 1.24 1.25 struct Fnt { 1.26 int ascent;