src/events/SDL_mouse_c.h
changeset 6302 b0ae93a5b8d6
parent 6138 4c64952a58fb
child 6673 78f18a929123
     1.1 --- a/src/events/SDL_mouse_c.h	Fri Feb 03 23:53:51 2012 +1300
     1.2 +++ b/src/events/SDL_mouse_c.h	Sat Feb 04 00:13:21 2012 +1300
     1.3 @@ -60,6 +60,8 @@
     1.4      int last_x, last_y;         /* the last reported x and y coordinates */
     1.5      Uint8 buttonstate;
     1.6      SDL_bool relative_mode;
     1.7 +    /* the x and y coordinates when relative mode was activated */
     1.8 +    int original_x, original_y;
     1.9  
    1.10      SDL_Cursor *cursors;
    1.11      SDL_Cursor *def_cursor;