From e2733613152f311f46af795e38f4d7f3b6a8b265 Mon Sep 17 00:00:00 2001 From: Ivan Kanakarakis Date: Fri, 14 Sep 2012 04:42:44 +0300 Subject: rework unmapnotify - all unmapped windows lose their client --- monsterwm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'monsterwm.c') 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); } /** -- cgit v1.3.1