diff options
author | Anselm R. Garbe <garbeam@wmii.de> | 2006-07-11 12:52:57 +0200 |
---|---|---|
committer | Anselm R. Garbe <garbeam@wmii.de> | 2006-07-11 12:52:57 +0200 |
commit | 16c67f32d62849792c8e6d4fdec22a1896f9c279 (patch) | |
tree | cb18262f3e207d8229bf0f8833f602a7b7903b03 /wm.h | |
parent | 366d81e313e6dd4e9e6c61ed8dfca4b4b40ccde6 (diff) | |
download | dwm-16c67f32d62849792c8e6d4fdec22a1896f9c279.tar.gz |
fixed several stuff (gridwm gets better and better)
Diffstat (limited to 'wm.h')
-rw-r--r-- | wm.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -10,7 +10,6 @@ #include <X11/Xutil.h> /* 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); |