Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

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. :)
  • Loading branch information
slouken committed Dec 7, 2008
1 parent 1973ebc commit e9f68de6c71f17a11480fdfb080bafe3214842fa

File 2 of 4 in e9f68de

@@ -66,8 +66,8 @@ struct SDL_Mouse
/* 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 @@ extern void SDL_ResetMouse(int index);
/* 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);

0 comments on commit e9f68de

Please sign in to comment.