From 16c67f32d62849792c8e6d4fdec22a1896f9c279 Mon Sep 17 00:00:00 2001 From: "Anselm R. Garbe" Date: Tue, 11 Jul 2006 12:52:57 +0200 Subject: fixed several stuff (gridwm gets better and better) --- wm.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'wm.h') diff --git a/wm.h b/wm.h index 454f7bf9..9ea74fed 100644 --- a/wm.h +++ b/wm.h @@ -10,7 +10,6 @@ #include /* atoms */ -enum { WMState, WMProtocols, WMDelete, WMLast }; enum { NetSupported, NetWMName, NetLast }; /* cursor */ @@ -25,7 +24,6 @@ typedef struct Key Key; struct Client { char name[256]; char tag[256]; - int proto; unsigned int border; Bool fixedsize; Window win; @@ -46,7 +44,7 @@ struct Key { extern Display *dpy; extern Window root, barwin; -extern Atom wm_atom[WMLast], net_atom[NetLast]; +extern Atom net_atom[NetLast]; extern Cursor cursor[CurLast]; extern XRectangle rect, barrect; extern Bool running; @@ -57,20 +55,22 @@ extern int screen, sel_screen; extern char *bartext, tag[256]; extern Brush brush; -extern Client *client; +extern Client *clients; /* bar.c */ extern void draw_bar(); /* cmd.c */ extern void run(char *arg); +extern void quit(char *arg); /* client.c */ extern Client *create_client(Window w, XWindowAttributes *wa); extern void manage(Client *c); +extern Client * getclient(Window w); /* key.c */ extern void update_keys(); +extern void keypress(XEvent *e); /* wm.c */ -extern int win_proto(Window w); -- cgit v1.2.3