From b78143d4819e21bf602208f4c1707f7957f20d29 Mon Sep 17 00:00:00 2001 From: Ivan Kanakarakis Date: Thu, 14 Jun 2012 01:08:55 +0300 Subject: only output desktop info when a window really unmaps --- monsterwm.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/monsterwm.c b/monsterwm.c index 78aecb8..b044514 100644 --- a/monsterwm.c +++ b/monsterwm.c @@ -818,8 +818,7 @@ void tile(void) { * client, so no invisible windows exist on screen */ void unmapnotify(XEvent *e) { client *c = wintoclient(e->xunmap.window); - if (c && e->xunmap.send_event) removeclient(c); - desktopinfo(); + if (c && e->xunmap.send_event) { removeclient(c); desktopinfo(); } } /* highlight borders and set active window and input focus -- cgit v1.3.1