Skip to content
Permalink
Browse files

Added some FIXMEs.

  • Loading branch information
icculus committed May 24, 2014
1 parent f0e0f4c commit 846a3e07769dfac8535a300caf1d053359ccf697
Showing with 3 additions and 0 deletions.
  1. +1 −0 src/events/SDL_mouse.c
  2. +2 −0 src/video/SDL_video.c
@@ -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)
{

0 comments on commit 846a3e0

Please sign in to comment.