-
Committer:
Daniel van Vugt
-
Date:
2011-12-21 05:53:25 UTC
-
Revision ID:
vanvugt@gmail.com-20111221055325-q3ijo2yqmr2aquv0
Fix severe lag and "freezing" when dragging windows (LP: #764330)
This fixes the two root causes:
1. Too many input events for slow systems to keep up with. Often compiz
receives 1000 MotionNotify's per second. This is many more than is
perceptible on screen. So the new default is to sample the mouse position
a maximum of 200 times per second (also configurable).
2. Lazy Positioning was sometimes not being used even when it's enabled.
This caused long and slow sync calls, and amplified the flooded event
queue problem above.