aboutsummaryrefslogtreecommitdiff
path: root/monsterwm.c
diff options
context:
space:
mode:
authorIvan Kanakarakis <ivan.kanak@gmail.com>2012-09-14 04:42:44 +0300
committerIvan Kanakarakis <ivan.kanak@gmail.com>2012-10-05 21:50:13 +0300
commite2733613152f311f46af795e38f4d7f3b6a8b265 (patch)
tree3ef73eaeb4b9f5dfa6cf26cf608f1c92a6a502cc /monsterwm.c
parentddaa6fcff5ac1037f32746b7f9db7509a7d9f5b3 (diff)
rework unmapnotify - all unmapped windows lose their client
Diffstat (limited to 'monsterwm.c')
-rw-r--r--monsterwm.c6
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);
}
/**