JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
applied Jukkas patch
[dwm.git] / dwm.h
diff --git a/dwm.h b/dwm.h
index c30f2b3..234a734 100644 (file)
--- 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 */