From 172da14d77718199a262fe0ae593d6a5862714da Mon Sep 17 00:00:00 2001 From: okan Date: Mon, 6 Feb 2017 18:10:28 +0000 Subject: Call client_resize instead of client_move after client_placecalc since the size may also change. from Vadim Vygonets --- client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client.c') 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 { -- cgit 1.4.1