diff options
| -rw-r--r-- | monsterwm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/monsterwm.c b/monsterwm.c index a3c4336..af648e6 100644 --- a/monsterwm.c +++ b/monsterwm.c @@ -686,7 +686,7 @@ void togglepanel() { void unmapnotify(XEvent *e) { client *c = wintoclient(e->xunmap.window); - if (c && e->xunmap.send_event) XDestroyWindow(dis, c->win); + if (c && e->xunmap.send_event) removeclient(c); } void update_current(void) { |
