Commit 846a3e07769dfac8535a300caf1d053359ccf697

Ryan C. Gordon 2014-05-24T01:27:19

Added some FIXMEs.

diff --git a/src/events/SDL_mouse.c b/src/events/SDL_mouse.c
index fa2f878..3f82b4e 100644
--- a/src/events/SDL_mouse.c
+++ b/src/events/SDL_mouse.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;
diff --git a/src/video/SDL_video.c b/src/video/SDL_video.c
index 37acc87..f8556a6 100644
--- a/src/video/SDL_video.c
+++ b/src/video/SDL_video.c
@@ -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)
 {