X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=dwm.h;h=234a734370c72898000bfb6734a6b78aa0812a55;hb=1c2d673ded697f4b131f8700ce98392fbb383b2e;hp=269c78e9819c11ccd218dbbe4f7582c84775cffe;hpb=b4d53bf194f9f9214b6c79d397d723ba53663b4b;p=dwm.git diff --git a/dwm.h b/dwm.h index 269c78e..234a734 100644 --- a/dwm.h +++ b/dwm.h @@ -38,6 +38,8 @@ /* mask shorthands, used in event.c and client.c */ #define BUTTONMASK (ButtonPressMask | ButtonReleaseMask) #define MOUSEMASK (BUTTONMASK | PointerMotionMask) +/* other stuff used in different places */ +#define BORDERPX 1 #define PROTODELWIN 1 enum { NetSupported, NetWMName, NetLast }; /* EWMH atoms */ @@ -117,6 +119,7 @@ extern void gravitate(Client *c, Bool invert); /* gravitate c */ extern void killclient(Arg *arg); /* kill c nicely */ extern void manage(Window w, XWindowAttributes *wa); /* manage new client */ extern void resize(Client *c, Bool sizehints, Corner sticky); /* resize c*/ +extern void resizetitle(Client *c); /* resizes c->twin correctly */ extern void updatesize(Client *c); /* update the size structs of c */ extern void updatetitle(Client *c); /* update the name of c */ extern void unmanage(Client *c); /* destroy c */