diff options
author | Anselm R. Garbe <garbeam@wmii.de> | 2006-07-11 13:21:57 +0200 |
---|---|---|
committer | Anselm R. Garbe <garbeam@wmii.de> | 2006-07-11 13:21:57 +0200 |
commit | 26e134b8a7dae21a699822009674b3131de6e250 (patch) | |
tree | ce783ecc7317440d3947eff29c42075620e98858 /event.c | |
parent | 005362043d8b0bbf856f301c231d4f10c519b8c4 (diff) | |
download | dwm-26e134b8a7dae21a699822009674b3131de6e250.tar.gz |
added gridsel to gridwm
Diffstat (limited to 'event.c')
-rw-r--r-- | event.c | 6 |
1 files changed, 2 insertions, 4 deletions
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 |