X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=blobdiff_plain;f=wm.h;h=68c30da2d24f226affb5098f2992aeec430c88c4;hp=9ea74fedde76916f647a5cd17b0afdbcbe9add91;hb=005362043d8b0bbf856f301c231d4f10c519b8c4;hpb=16c67f32d62849792c8e6d4fdec22a1896f9c279 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);