mfwm

A tiling fork of dylanaraps sowm.
git clone git://depsterr.com/git/mfwm
Log | Files | Refs | README | LICENSE

commit 0ed080b99c27d89801b805302e91393b33523bac
parent 7e4466e38ec9dc1e598ba06db2efaa2627625c7a
Author: Dylan Araps <dylan.araps@gmail.com>
Date:   Thu, 23 Apr 2020 08:27:13 +0300

sowm: small fixes

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

diff --git a/sowm.c b/sowm.c @@ -52,7 +52,6 @@ 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; @@ -281,6 +280,6 @@ int main(void) { XDefineCursor(d, root, XCreateFontCursor(d, 68)); input_grab(root); - while (1 && !XNextEvent(d, &ev)) + while (1 && !XNextEvent(d, &ev)) // 1 && will forever be here. if (events[ev.type]) events[ev.type](&ev); }