~fginther/grail/grail-2.0.1.1-oneiric

« back to all changes in this revision

Viewing changes to src/grail-legacy.c

  • Committer: Francis Ginther
  • Date: 2012-08-22 18:35:11 UTC
  • mfrom: (20.2.19 upstream)
  • Revision ID: francis.ginther@canonical.com-20120822183511-yxwny2hixhyu2z42
* New upstream microrelease, bug fixes only
  - Rename project to simply 'grail' (LP: #1040218)
* Updated debian/watch file for project rename

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
                                    struct grail_contact *touch, int max_touch)
42
42
{
43
43
        const struct gesture_inserter *gin = ge->gin;
44
 
        const struct utouch_frame *frame = ge->impl->touch;
 
44
        const struct oif_frame *frame = ge->impl->touch;
45
45
        int i;
46
46
        if (frame->num_active < max_touch)
47
47
                max_touch = frame->num_active;
48
48
        for (i = 0; i < max_touch; i++) {
49
49
                struct grail_contact *t = &touch[i];
50
 
                const struct utouch_contact *ct = frame->active[i];
 
50
                const struct oif_contact *ct = frame->active[i];
51
51
                t->id = ct->id;
52
52
                t->tool_type = ct->tool_type;
53
53
                t->pos.x = ct->x;