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.
This commit is contained in:
okan 2016-09-28 15:54:54 +00:00
parent 57b2a6cf79
commit b32989d379

View File

@ -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);