aboutsummaryrefslogtreecommitdiffstats
path: root/wm.h
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@wmii.de>2006-07-11 13:02:22 +0200
committerAnselm R. Garbe <garbeam@wmii.de>2006-07-11 13:02:22 +0200
commit005362043d8b0bbf856f301c231d4f10c519b8c4 (patch)
tree3901197bc7ec4ad48613683c34516c2fa8c6542e /wm.h
parent16c67f32d62849792c8e6d4fdec22a1896f9c279 (diff)
downloaddwm-005362043d8b0bbf856f301c231d4f10c519b8c4.tar.gz
changed how manage client works
Diffstat (limited to 'wm.h')
-rw-r--r--wm.h5
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);