src/events/SDL_mouse.c
changeset 12462 b57435750c5b
parent 12188 f081a5675f93
child 12466 b442834306a8
     1.1 --- a/src/events/SDL_mouse.c	Wed Dec 05 19:03:15 2018 -0500
     1.2 +++ b/src/events/SDL_mouse.c	Thu Dec 06 09:22:00 2018 +0100
     1.3 @@ -545,7 +545,7 @@
     1.4          SDL_SetMouseFocus(window);
     1.5      }
     1.6  
     1.7 -    if (!x && !y) {
     1.8 +    if (x == 0. && y == 0.) {
     1.9          return 0;
    1.10      }
    1.11