aboutsummaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
authorokan2017-02-06 18:10:28 +0000
committerokan2017-02-06 18:10:28 +0000
commit27fbc31fe1a56a9c9fbd25f51d9fc29263f695fa (patch)
treecd307691aeeda1b1f9f1d1df644bb45fafbb3fce /client.c
parentec27207483f6b09916f2727d8f9ee20b7bc306a2 (diff)
downloadcwm-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 '')
-rw-r--r--client.c4
1 files changed, 2 insertions, 2 deletions
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 <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 {