diff options
| author | Ivan Kanakarakis <ivan.kanak@gmail.com> | 2012-01-05 20:37:29 +0200 |
|---|---|---|
| committer | Ivan Kanakarakis <ivan.kanak@gmail.com> | 2012-01-05 20:37:29 +0200 |
| commit | f21fc2c44bfca5d803c96263835ef8fece031fec (patch) | |
| tree | 8e05272d63269c0a1d7b72638d6717732164c3f0 /monsterwm.c | |
| parent | b846d0736cbbce4cb6457eb9c3830c4798e35e95 (diff) | |
fix window not mapped when top is removed on monocle layout - closes #3
Diffstat (limited to 'monsterwm.c')
| -rw-r--r-- | monsterwm.c | 2 |
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(); } |
