X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=dwm.h;h=234a734370c72898000bfb6734a6b78aa0812a55;hb=1c2d673ded697f4b131f8700ce98392fbb383b2e;hp=c30f2b3f17bcb457173b0ab8e92e6834597c5d28;hpb=7d7cde0fd6ceae2f7d759b924afd8df279a4ddde;p=dwm.git diff --git a/dwm.h b/dwm.h index c30f2b3..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 */ @@ -109,6 +111,7 @@ extern Window root, barwin; /* client.c */ extern void ban(Client *c); /* ban c from screen */ +extern void configure(Client *c); /* send synthetic configure event */ extern void focus(Client *c); /* focus c, c may be NULL */ extern Client *getclient(Window w); /* return client of w */ extern Client *getctitle(Window w); /* return client of title window */ @@ -116,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 */