mirror of https://github.com/encounter/SDL.git
Added some FIXMEs.
This commit is contained in:
parent
f0e0f4ca15
commit
846a3e0776
|
@ -246,6 +246,7 @@ SDL_PrivateSendMouseMotion(SDL_Window * window, SDL_MouseID mouseID, int relativ
|
||||||
mouse->y += yrel;
|
mouse->y += yrel;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* !!! FIXME: shouldn't this be (window) instead of (mouse->focus)? */
|
||||||
SDL_GetWindowSize(mouse->focus, &x_max, &y_max);
|
SDL_GetWindowSize(mouse->focus, &x_max, &y_max);
|
||||||
--x_max;
|
--x_max;
|
||||||
--y_max;
|
--y_max;
|
||||||
|
|
|
@ -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_Window *
|
||||||
SDL_GetFocusWindow(void)
|
SDL_GetFocusWindow(void)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue