dwm-meillo

diff event.c @ 11:ea9c08ec4b48

added gridsel to gridwm
author Anselm R. Garbe <garbeam@wmii.de>
date Tue, 11 Jul 2006 13:21:57 +0200
parents 703255003abb
children 5cc5e55a132d
line diff
     1.1 --- a/event.c	Tue Jul 11 13:02:22 2006 +0200
     1.2 +++ b/event.c	Tue Jul 11 13:21:57 2006 +0200
     1.3 @@ -81,13 +81,11 @@
     1.4  static void
     1.5  destroynotify(XEvent *e)
     1.6  {
     1.7 -#if 0
     1.8  	Client *c;
     1.9  	XDestroyWindowEvent *ev = &e->xdestroywindow;
    1.10  
    1.11 -	if((c = client_of_win(ev->window)))
    1.12 -		destroy_client(c);
    1.13 -#endif
    1.14 +	if((c = getclient(ev->window)))
    1.15 +		unmanage(c);
    1.16  }
    1.17  
    1.18  static void