aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kanakarakis <ivan.kanak@gmail.com>2012-01-05 00:02:56 +0200
committerIvan Kanakarakis <ivan.kanak@gmail.com>2012-01-05 00:02:56 +0200
commit6936dfd02b6e474a646ec90866de0493c9624fcf (patch)
tree3c78d85469910575544f040914d3589653609355
parentb8ff54b792b94c5388651ce30cd5bf67b78d3688 (diff)
map previous window on closing of another on monocle layout
-rw-r--r--monsterwm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/monsterwm.c b/monsterwm.c
index 073c913..a2adc4f 100644
--- a/monsterwm.c
+++ b/monsterwm.c
@@ -491,6 +491,7 @@ void removeclient(client *c) {
}
select_desktop(cd);
tile();
+ if (mode == MONOCLE && cd == nd && current) XMapWindow(dis, current->win);
update_current();
}