mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-25 01:45:27 +00:00
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;
|
||||
}
|
||||
|
||||
/* !!! FIXME: shouldn't this be (window) instead of (mouse->focus)? */
|
||||
SDL_GetWindowSize(mouse->focus, &x_max, &y_max);
|
||||
--x_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_GetFocusWindow(void)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue