From 7b5638f61d5c8b5a76bc3f7a5962cb7490da3b6b Mon Sep 17 00:00:00 2001 From: "arg@10ksloc.org" Date: Tue, 1 Aug 2006 12:32:33 +0200 Subject: applied Sanders patches --- dwm.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'dwm.h') diff --git a/dwm.h b/dwm.h index d18ef20..bcdb4e3 100644 --- a/dwm.h +++ b/dwm.h @@ -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; -- cgit v1.2.3