aboutsummaryrefslogtreecommitdiff
path: root/monsterwm.c
diff options
context:
space:
mode:
authorIvan Kanakarakis <ivan.kanak@gmail.com>2012-06-14 01:08:55 +0300
committerIvan Kanakarakis <ivan.kanak@gmail.com>2012-06-14 01:08:55 +0300
commitb78143d4819e21bf602208f4c1707f7957f20d29 (patch)
treeffd3afeebf8076dceaf986fa2dd1b7079124d855 /monsterwm.c
parentea37d17e055f3327ff4979902147ce239f3b44e7 (diff)
only output desktop info when a window really unmaps
Diffstat (limited to 'monsterwm.c')
-rw-r--r--monsterwm.c3
1 files changed, 1 insertions, 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