diff src/events/SDL_mouse_c.h @ 2849:523b10db69f8

There's no reason to add extra code to notify the mice of window size changes. Just query the window size when we care about it. :)
author Sam Lantinga <slouken@libsdl.org>
date Sun, 07 Dec 2008 21:53:28 +0000
parents f7872b7a8732
children 99210400e8b9
line wrap: on
line diff
--- a/src/events/SDL_mouse_c.h	Sun Dec 07 07:16:40 2008 +0000
+++ b/src/events/SDL_mouse_c.h	Sun Dec 07 21:53:28 2008 +0000
@@ -66,8 +66,8 @@
     /* Data common to all mice */
     SDL_WindowID focus;
     int which;
-    int x, x_max;
-    int y, y_max;
+    int x;
+    int y;
     int z;                      /* for future use */
     int xdelta;
     int ydelta;
@@ -112,9 +112,6 @@
 /* Set the mouse focus window */
 extern void SDL_SetMouseFocus(int id, SDL_WindowID windowID);
 
-/* Set the size of the mouse focus window */
-extern void SDL_SetMouseFocusSize(SDL_WindowID windowID, int w, int h);
-
 /* Send a mouse motion event for a mouse */
 extern int SDL_SendMouseMotion(int id, int relative, int x, int y, int z);