#define WM_PROTOCOL_DELWIN 1
+typedef struct Client Client;
+typedef struct Key Key;
+
/* atoms */
enum { WMProtocols, WMDelete, WMLast };
enum { NetSupported, NetWMName, NetLast };
/* rects */
enum { RFloat, RGrid, RLast };
-typedef struct Client Client;
-typedef struct Key Key;
-
struct Client {
char name[256];
char tag[256];
- unsigned int border;
int proto;
Bool fixedsize;
Window win;
extern void focus(Client *c);
extern void update_name(Client *c);
extern void draw_client(Client *c);
+extern void resize(Client *c);
/* event.c */
-extern unsigned int flush_events(long even_mask);
+extern unsigned int discard_events(long even_mask);
/* key.c */
extern void update_keys();
extern void keypress(XEvent *e);
+/* mouse.c */
+extern void mresize(Client *c);
+extern void mmove(Client *c);
+
/* wm.c */
extern int error_handler(Display *dpy, XErrorEvent *error);
extern void send_message(Window w, Atom a, long value);