summary refs log tree commit diff
path: root/mousefunc.c
diff options
context:
space:
mode:
authorokan <okan>2016-09-28 15:54:54 +0000
committerokan <okan>2016-09-28 15:54:54 +0000
commitb32989d3793bf0247cd517bf232799f12b5652ab (patch)
tree8bd4f988c9c73638d8eaf8226463673adfa09692 /mousefunc.c
parent57b2a6cf796614df4723cc5ffff12101a21e7850 (diff)
downloadcwm-b32989d3793bf0247cd517bf232799f12b5652ab.tar.gz
cwm-b32989d3793bf0247cd517bf232799f12b5652ab.tar.xz
cwm-b32989d3793bf0247cd517bf232799f12b5652ab.zip
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.
Diffstat (limited to 'mousefunc.c')
-rw-r--r--mousefunc.c1
1 files changed, 0 insertions, 1 deletions
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);