From 26e134b8a7dae21a699822009674b3131de6e250 Mon Sep 17 00:00:00 2001 From: Anselm R. Garbe Date: Tue, 11 Jul 2006 13:21:57 +0200 Subject: added gridsel to gridwm --- event.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'event.c') diff --git a/event.c b/event.c index 870ed4a..d168787 100644 --- a/event.c +++ b/event.c @@ -81,13 +81,11 @@ configurerequest(XEvent *e) 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 -- cgit v1.2.3