X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=dwm.h;h=68b307dc2e2e6fca527c9c1e9db55ca68feb85a3;hb=1bf0c4a8e7892896bb8ed1693f36f1de5285e46c;hp=f7bebb05ef5899664b2d3ea452164afcda0eb58f;hpb=a73a88280681acdab047bd11a9ba77d97d6a0b72;p=dwm.git diff --git a/dwm.h b/dwm.h index f7bebb0..68b307d 100644 --- a/dwm.h +++ b/dwm.h @@ -3,12 +3,13 @@ * See LICENSE file for license details. */ +#include "config.h" #include -#include CONFIG /* mask shorthands, used in event.c and client.c */ -#define ButtonMask (ButtonPressMask | ButtonReleaseMask) -#define MouseMask (ButtonMask | PointerMotionMask) +#define BUTTONMASK (ButtonPressMask | ButtonReleaseMask) +#define MOUSEMASK (BUTTONMASK | PointerMotionMask) +#define PROTODELWIN 1 typedef union Arg Arg; typedef struct Client Client; @@ -56,8 +57,8 @@ struct Client { int tx, ty, tw, th; /* title */ int basew, baseh, incw, inch, maxw, maxh, minw, minh; int grav; - unsigned int border; long flags; + unsigned int border; Bool isfloat; Bool ismax; Client *next;