~chasedouglas/geis/fix-deltas

Viewing all changes in revision 255.

  • Committer: Chase Douglas
  • Date: 2012-04-19 22:49:23 UTC
  • Revision ID: chase.douglas@ubuntu.com-20120419224923-i0pbgj8rd1uhtvwp
Save position in slice state and calculate deltas based on it

When synchronous events are not enabled, multiple grail events may have
been dropped in between geis events. Before this change, the geis deltas
were based on the grail deltas, which only accounted for the changes
between the previous and the current grail slice instead of from the
previous and current geis event.

This change started off as a reversion of commit 226.1.3, which
introduced the regression. The initial slice state was corrected to
represent the initial position. The number of touches was saved in the
slice state. Then, if the number of touches changes we reset the slice
state. This ensures we still have lp:967267 fixed.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: