aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}
/**