src/events/SDL_touch.c
changeset 12462 b57435750c5b
parent 12404 eb60e952b13f
child 12466 b442834306a8
     1.1 --- a/src/events/SDL_touch.c	Wed Dec 05 19:03:15 2018 -0500
     1.2 +++ b/src/events/SDL_touch.c	Thu Dec 06 09:22:00 2018 +0100
     1.3 @@ -315,7 +315,7 @@
     1.4      prel = pressure - finger->pressure;
     1.5  
     1.6      /* Drop events that don't change state */
     1.7 -    if (!xrel && !yrel && !prel) {
     1.8 +    if (xrel == 0. && yrel == 0. && prel == 0.) {
     1.9  #if 0
    1.10          printf("Touch event didn't change state - dropped!\n");
    1.11  #endif