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