From e22087856ba51027e16fbd22c1e022545bfc9f36 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Wed, 11 Mar 2020 22:21:41 +0200 Subject: [PATCH] sowm: Compress window events after compressing all events. --- sowm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sowm.c b/sowm.c index 509e28f..8b21dc6 100644 --- a/sowm.c +++ b/sowm.c @@ -52,6 +52,7 @@ void notify_motion(XEvent *e) { if (!mouse.subwindow || cur->f) return; while(XCheckTypedEvent(d, MotionNotify, e)); + while(XCheckTypedWindowEvent(d, mouse.subwindow, MotionNotify, e)); int xd = e->xbutton.x_root - mouse.x_root; int yd = e->xbutton.y_root - mouse.y_root;