Mercurial > 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 wrap: on
line diff
--- a/event.c Tue Jul 11 13:02:22 2006 +0200 +++ b/event.c Tue Jul 11 13:21:57 2006 +0200 @@ -81,13 +81,11 @@ static void destroynotify(XEvent *e) { -#if 0 Client *c; XDestroyWindowEvent *ev = &e->xdestroywindow; - if((c = client_of_win(ev->window))) - destroy_client(c); -#endif + if((c = getclient(ev->window))) + unmanage(c); } static void