summaryrefslogtreecommitdiffstats
path: root/event.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@wmii.de>2006-07-11 13:21:57 +0200
committerAnselm R. Garbe <garbeam@wmii.de>2006-07-11 13:21:57 +0200
commit26e134b8a7dae21a699822009674b3131de6e250 (patch)
treece783ecc7317440d3947eff29c42075620e98858 /event.c
parentchanged how manage client works (diff)
downloaddwm-26e134b8a7dae21a699822009674b3131de6e250.tar.gz
dwm-26e134b8a7dae21a699822009674b3131de6e250.zip
added gridsel to gridwm
Diffstat (limited to '')
-rw-r--r--event.c6
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)
81static void 81static void
82destroynotify(XEvent *e) 82destroynotify(XEvent *e)
83{ 83{
84#if 0
85 Client *c; 84 Client *c;
86 XDestroyWindowEvent *ev = &e->xdestroywindow; 85 XDestroyWindowEvent *ev = &e->xdestroywindow;
87 86
88 if((c = client_of_win(ev->window))) 87 if((c = getclient(ev->window)))
89 destroy_client(c); 88 unmanage(c);
90#endif
91} 89}
92 90
93static void 91static void