2 * (C)opyright MMVI Anselm R. Garbe <garbeam at gmail dot com>
3 * See LICENSE file for license details.
10 #include <X11/Xutil.h>
13 enum { WMState, WMProtocols, WMDelete, WMLast };
14 enum { NetSupported, NetWMName, NetLast };
17 enum { CurNormal, CurResize, CurMove, CurInput, CurLast };
20 enum { RFloat, RGrid, RLast };
22 typedef struct Client Client;
40 extern Window root, barwin;
41 extern Atom wm_atom[WMLast], net_atom[NetLast];
42 extern Cursor cursor[CurLast];
43 extern XRectangle rect, barrect;
46 extern void (*handler[LASTEvent]) (XEvent *);
48 extern int screen, sel_screen;
49 extern unsigned int lock_mask, numlock_mask;
50 extern char *bartext, tag[256];
53 extern Client *client;
56 extern void draw_bar();
59 extern Client *create_client(Window w, XWindowAttributes *wa);
60 extern void manage(Client *c);
63 extern int win_proto(Window w);