aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorokan2016-09-28 15:54:54 +0000
committerokan2016-09-28 15:54:54 +0000
commita9e8c34755d6c0e05cb0a204f06480cfbd353994 (patch)
tree3d0a1d0fff6426e23f1d4da4b423863ebae75f65
parentfcf63f35482fd6d0e4ae011cd944289d576d0d44 (diff)
downloadcwm-a9e8c34755d6c0e05cb0a204f06480cfbd353994.tar.gz
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 '')
-rw-r--r--mousefunc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mousefunc.c b/mousefunc.c
index 8fa3c82..047b825 100644
--- a/mousefunc.c
+++ b/mousefunc.c
@@ -16,7 +16,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $OpenBSD: mousefunc.c,v 1.105 2016/09/22 14:36:03 okan Exp $
+ * $OpenBSD: mousefunc.c,v 1.106 2016/09/28 15:54:54 okan Exp $
*/
#include <sys/types.h>
@@ -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);