diff options
| author | Ivan Kanakarakis <ivan.kanak@gmail.com> | 2012-09-14 04:42:44 +0300 |
|---|---|---|
| committer | Ivan Kanakarakis <ivan.kanak@gmail.com> | 2012-10-05 21:50:13 +0300 |
| commit | e2733613152f311f46af795e38f4d7f3b6a8b265 (patch) | |
| tree | 3ef73eaeb4b9f5dfa6cf26cf608f1c92a6a502cc | |
| parent | ddaa6fcff5ac1037f32746b7f9db7509a7d9f5b3 (diff) | |
rework unmapnotify - all unmapped windows lose their client
| -rw-r--r-- | monsterwm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/monsterwm.c b/monsterwm.c index a58129e..a080942 100644 --- a/monsterwm.c +++ b/monsterwm.c @@ -1085,12 +1085,12 @@ void tile(Desktop *d) { } /** - * windows that request to unmap should lose their - * client, so invisible windows do not exist on screen + * windows that request to unmap should lose their client + * so invisible windows do not exist on screen */ void unmapnotify(XEvent *e) { Desktop *d = NULL; Client *c = NULL; - if (e->xunmap.send_event && wintoclient(e->xunmap.window, &c, &d)) removeclient(c, d); + if (wintoclient(e->xunmap.window, &c, &d)) removeclient(c, d); } /** |
