Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
| inline |
side by side
added gridsel to gridwm
[dwm.git]
/
event.c
diff --git
a/event.c
b/event.c
index
870ed4a
..
d168787
100644
(file)
--- 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