src/events/SDL_mouse.c
changeset 3179 9b34679fda8b
parent 3176 8c12052ddc7b
child 3186 51750b7a966f
     1.1 --- a/src/events/SDL_mouse.c	Tue Jun 09 08:56:43 2009 +0000
     1.2 +++ b/src/events/SDL_mouse.c	Tue Jun 09 15:45:33 2009 +0000
     1.3 @@ -466,12 +466,14 @@
     1.4          event.motion.y = mouse->y;
     1.5          event.motion.z = mouse->z;
     1.6          event.motion.pressure = mouse->pressure;
     1.7 +        event.motion.pressure_max = mouse->pressure_max;
     1.8 +        event.motion.pressure_min = mouse->pressure_min;
     1.9 +        event.motion.rotation = 0;
    1.10 +        event.motion.tilt = 0;
    1.11 +        event.motion.cursor = mouse->current_end;
    1.12          event.motion.xrel = xrel;
    1.13          event.motion.yrel = yrel;
    1.14          event.motion.windowID = mouse->focus;
    1.15 -        event.motion.pressure_max = mouse->pressure_max;
    1.16 -        event.motion.pressure_min = mouse->pressure_min;
    1.17 -        event.motion.cursor = mouse->current_end;
    1.18          posted = (SDL_PushEvent(&event) > 0);
    1.19      }
    1.20      mouse->last_x = mouse->x;