diff options
author | Anselm R. Garbe <garbeam@wmii.de> | 2006-07-11 13:02:22 +0200 |
---|---|---|
committer | Anselm R. Garbe <garbeam@wmii.de> | 2006-07-11 13:02:22 +0200 |
commit | 005362043d8b0bbf856f301c231d4f10c519b8c4 (patch) | |
tree | 3901197bc7ec4ad48613683c34516c2fa8c6542e /wm.h | |
parent | 16c67f32d62849792c8e6d4fdec22a1896f9c279 (diff) | |
download | dwm-005362043d8b0bbf856f301c231d4f10c519b8c4.tar.gz |
changed how manage client works
Diffstat (limited to 'wm.h')
-rw-r--r-- | wm.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/wm.h b/wm.h index 9ea74fe..68c30da 100644 --- a/wm.h +++ b/wm.h @@ -65,8 +65,8 @@ 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 void manage(Window w, XWindowAttributes *wa); +void unmanage(Client *c); extern Client * getclient(Window w); /* key.c */ @@ -74,3 +74,4 @@ extern void update_keys(); extern void keypress(XEvent *e); /* wm.c */ +extern int error_handler(Display *dpy, XErrorEvent *error); |