diff options
author | okan <okan> | 2017-02-06 18:10:28 +0000 |
---|---|---|
committer | okan <okan> | 2017-02-06 18:10:28 +0000 |
commit | 172da14d77718199a262fe0ae593d6a5862714da (patch) | |
tree | 8af9c3003993255e7551178762744d7ac9434ec7 | |
parent | f908118a3a013ad3a1f4717ec036bf2fa8b5582e (diff) | |
download | cwm-172da14d77718199a262fe0ae593d6a5862714da.tar.gz cwm-172da14d77718199a262fe0ae593d6a5862714da.tar.xz cwm-172da14d77718199a262fe0ae593d6a5862714da.zip |
Call client_resize instead of client_move after client_placecalc since the size
may also change. from Vadim Vygonets
-rw-r--r-- | client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client.c b/client.c index 6cb222a..9917a4e 100644 --- a/client.c +++ b/client.c @@ -100,7 +100,7 @@ client_init(Window win, struct screen_ctx *sc, int active) if (wattr.map_state != IsViewable) { client_placecalc(cc); - client_move(cc); + client_resize(cc, 0); if ((cc->wmh) && (cc->wmh->flags & StateHint)) client_set_wm_state(cc, cc->wmh->initial_state); } else { |