dont compress motion events. it breaks things, moveresize is missing events

This commit is contained in:
Dana Jansens 2007-05-22 23:44:33 +00:00
parent 206ad12bda
commit e043faec9e

View file

@ -265,15 +265,6 @@ static void event_hack_mods(XEvent *e)
break;
case MotionNotify:
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;
}
}