From 27fbc31fe1a56a9c9fbd25f51d9fc29263f695fa 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client.c') diff --git a/client.c b/client.c index c82c993..a05b1e8 100644 --- a/client.c +++ b/client.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: client.c,v 1.233 2016/12/19 14:17:26 okan Exp $ + * $OpenBSD: client.c,v 1.234 2017/02/06 18:10:28 okan Exp $ */ #include @@ -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 v1.2.3-2-gb3c3