aewl

diff wm.h @ 10:703255003abb

changed how manage client works
author Anselm R. Garbe <garbeam@wmii.de>
date Tue, 11 Jul 2006 13:02:22 +0200
parents d567f430a81d
children 5cc5e55a132d
line diff
     1.1 --- a/wm.h	Tue Jul 11 12:52:57 2006 +0200
     1.2 +++ b/wm.h	Tue Jul 11 13:02:22 2006 +0200
     1.3 @@ -65,8 +65,8 @@
     1.4  extern void quit(char *arg);
     1.5  
     1.6  /* client.c */
     1.7 -extern Client *create_client(Window w, XWindowAttributes *wa);
     1.8 -extern void manage(Client *c);
     1.9 +extern void manage(Window w, XWindowAttributes *wa);
    1.10 +void unmanage(Client *c);
    1.11  extern Client * getclient(Window w);
    1.12  
    1.13  /* key.c */
    1.14 @@ -74,3 +74,4 @@
    1.15  extern void keypress(XEvent *e);
    1.16  
    1.17  /* wm.c */
    1.18 +extern int error_handler(Display *dpy, XErrorEvent *error);