Added some FIXMEs.

This commit is contained in:
Ryan C. Gordon 2014-05-24 01:27:19 -04:00
parent f0e0f4ca15
commit 846a3e0776
2 changed files with 3 additions and 0 deletions

View file

@ -246,6 +246,7 @@ SDL_PrivateSendMouseMotion(SDL_Window * window, SDL_MouseID mouseID, int relativ
mouse->y += yrel;
}
/* !!! FIXME: shouldn't this be (window) instead of (mouse->focus)? */
SDL_GetWindowSize(mouse->focus, &x_max, &y_max);
--x_max;
--y_max;

View file

@ -2216,6 +2216,8 @@ SDL_OnWindowFocusLost(SDL_Window * window)
}
}
/* !!! FIXME: is this different than SDL_GetKeyboardFocus()?
!!! FIXME: Also, SDL_GetKeyboardFocus() is O(1), this isn't. */
SDL_Window *
SDL_GetFocusWindow(void)
{