sowm

An itsy bitsy floating window manager (220~ sloc!).
git clone git://mfeller.io/sowm.git
Log | Files | Refs | README | LICENSE

commit e22087856ba51027e16fbd22c1e022545bfc9f36
parent f201a467eabafc760c543c873d32c23f810d38ca
Author: Dylan Araps <dylan.araps@gmail.com>
Date:   Wed, 11 Mar 2020 22:21:41 +0200

sowm: Compress window events after compressing all events.

Diffstat:
Msowm.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git 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;