Added some FIXMEs.
authorRyan C. Gordon <icculus@icculus.org>
Sat, 24 May 2014 01:27:19 -0400
changeset 8783 400f1d2b9e52
parent 8782 5a97aae701ab
child 8784 605c4b0ef03d
child 8927 be64f5daf64b
Added some FIXMEs.
src/events/SDL_mouse.c
src/video/SDL_video.c
--- a/src/events/SDL_mouse.c	Sat May 24 01:25:27 2014 -0400
+++ b/src/events/SDL_mouse.c	Sat May 24 01:27:19 2014 -0400
@@ -246,6 +246,7 @@
         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;
--- a/src/video/SDL_video.c	Sat May 24 01:25:27 2014 -0400
+++ b/src/video/SDL_video.c	Sat May 24 01:27:19 2014 -0400
@@ -2216,6 +2216,8 @@
     }
 }
 
+/* !!! FIXME: is this different than SDL_GetKeyboardFocus()?
+   !!! FIXME:  Also, SDL_GetKeyboardFocus() is O(1), this isn't. */
 SDL_Window *
 SDL_GetFocusWindow(void)
 {