revert r6775, it didnt help, and then more event storm
This commit is contained in:
parent
e043faec9e
commit
b95fe18c56
1 changed files with 9 additions and 0 deletions
|
@ -265,6 +265,15 @@ static void event_hack_mods(XEvent *e)
|
||||||
break;
|
break;
|
||||||
case MotionNotify:
|
case MotionNotify:
|
||||||
e->xmotion.state = modkeys_only_modifier_masks(e->xmotion.state);
|
e->xmotion.state = modkeys_only_modifier_masks(e->xmotion.state);
|
||||||
|
/* compress events */
|
||||||
|
{
|
||||||
|
XEvent ce;
|
||||||
|
while (XCheckTypedWindowEvent(ob_display, e->xmotion.window,
|
||||||
|
e->type, &ce)) {
|
||||||
|
e->xmotion.x_root = ce.xmotion.x_root;
|
||||||
|
e->xmotion.y_root = ce.xmotion.y_root;
|
||||||
|
}
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue