aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--monsterwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/monsterwm.c b/monsterwm.c
index bc0dbad..5fd1cfe 100644
--- a/monsterwm.c
+++ b/monsterwm.c
@@ -499,7 +499,7 @@ void removeclient(client *c) {
}
select_desktop(cd);
tile();
- if (mode == MONOCLE && cd == nd && current) XMapWindow(dis, current->win);
+ if (mode == MONOCLE && cd == --nd && current) XMapWindow(dis, current->win);
update_current();
}