src/events/SDL_gesture.c
changeset 4689 f9ab8df6d45a
parent 4688 494f71f57a80
child 4865 fff50e86c891
child 4880 27c458e4ae31
     1.1 --- a/src/events/SDL_gesture.c	Fri Aug 13 23:08:32 2010 -0400
     1.2 +++ b/src/events/SDL_gesture.c	Sun Aug 15 00:36:28 2010 -0400
     1.3 @@ -462,6 +462,8 @@
     1.4    */
     1.5    event.dgesture.gestureId = gestureId;
     1.6    event.dgesture.error = error;  
     1.7 +  //A finger came up to trigger this event.
     1.8 +  event.dgesture.numFingers = touch->numDownFingers + 1; 
     1.9    return SDL_PushEvent(&event) > 0;
    1.10  }
    1.11  
    1.12 @@ -471,7 +473,6 @@
    1.13    event.dgesture.type = SDL_DOLLARRECORD;
    1.14    event.dgesture.touchId = touch->id;
    1.15    event.dgesture.gestureId = gestureId;
    1.16 -
    1.17    return SDL_PushEvent(&event) > 0;
    1.18  }
    1.19