Call client_resize instead of client_move after client_placecalc since the size

may also change.

from Vadim Vygonets
This commit is contained in:
okan 2017-02-06 18:10:28 +00:00
parent f908118a3a
commit 172da14d77

View File

@ -100,7 +100,7 @@ client_init(Window win, struct screen_ctx *sc, int active)
if (wattr.map_state != IsViewable) { if (wattr.map_state != IsViewable) {
client_placecalc(cc); client_placecalc(cc);
client_move(cc); client_resize(cc, 0);
if ((cc->wmh) && (cc->wmh->flags & StateHint)) if ((cc->wmh) && (cc->wmh->flags & StateHint))
client_set_wm_state(cc, cc->wmh->initial_state); client_set_wm_state(cc, cc->wmh->initial_state);
} else { } else {