From b32989d3793bf0247cd517bf232799f12b5652ab Mon Sep 17 00:00:00 2001 From: okan Date: Wed, 28 Sep 2016 15:54:54 +0000 Subject: [PATCH] Do not call sweep_draw() too early: don't yet have w/h dimensions; plus we will get a MotionNotify event right away anyway, setting required parameters. --- mousefunc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/mousefunc.c b/mousefunc.c index 23f2490..42b7fb1 100644 --- a/mousefunc.c +++ b/mousefunc.c @@ -68,7 +68,6 @@ mousefunc_client_resize(struct client_ctx *cc, union arg *arg) return; xu_ptr_setpos(cc->win, cc->geom.w, cc->geom.h); - mousefunc_sweep_draw(cc); for (;;) { XMaskEvent(X_Dpy, MOUSEMASK, &ev);