diff options
| author | Ivan Kanakarakis <ivan.kanak@gmail.com> | 2012-01-08 19:45:23 +0200 |
|---|---|---|
| committer | Ivan Kanakarakis <ivan.kanak@gmail.com> | 2012-01-08 19:45:23 +0200 |
| commit | efb0b83aefb5104cf936b3036260864cbbd4cd3a (patch) | |
| tree | 2d5b579364b9959460baef36d21056d008882cd1 | |
| parent | 04de6af22273a3952f6db8331e87326c76efcfda (diff) | |
correctly handle invisible windows
| -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) { |
