diff options
author | okan | 2017-02-06 18:10:28 +0000 |
---|---|---|
committer | okan | 2017-02-06 18:10:28 +0000 |
commit | 27fbc31fe1a56a9c9fbd25f51d9fc29263f695fa (patch) | |
tree | cd307691aeeda1b1f9f1d1df644bb45fafbb3fce /client.c | |
parent | ec27207483f6b09916f2727d8f9ee20b7bc306a2 (diff) | |
download | cwm-27fbc31fe1a56a9c9fbd25f51d9fc29263f695fa.tar.gz |
Call client_resize instead of client_move after client_placecalc since the size
may also change.
from Vadim Vygonets
Diffstat (limited to 'client.c')
-rw-r--r-- | client.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 <sys/types.h> @@ -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 { |