Added some FIXMEs.
authorRyan C. Gordon <icculus@icculus.org>
Sat, 24 May 2014 01:27:19 -0400
changeset 8783400f1d2b9e52
parent 8782 5a97aae701ab
child 8784 605c4b0ef03d
child 8927 be64f5daf64b
Added some FIXMEs.
src/events/SDL_mouse.c
src/video/SDL_video.c
     1.1 --- a/src/events/SDL_mouse.c	Sat May 24 01:25:27 2014 -0400
     1.2 +++ b/src/events/SDL_mouse.c	Sat May 24 01:27:19 2014 -0400
     1.3 @@ -246,6 +246,7 @@
     1.4          mouse->y += yrel;
     1.5      }
     1.6  
     1.7 +    /* !!! FIXME: shouldn't this be (window) instead of (mouse->focus)? */
     1.8      SDL_GetWindowSize(mouse->focus, &x_max, &y_max);
     1.9      --x_max;
    1.10      --y_max;
     2.1 --- a/src/video/SDL_video.c	Sat May 24 01:25:27 2014 -0400
     2.2 +++ b/src/video/SDL_video.c	Sat May 24 01:27:19 2014 -0400
     2.3 @@ -2216,6 +2216,8 @@
     2.4      }
     2.5  }
     2.6  
     2.7 +/* !!! FIXME: is this different than SDL_GetKeyboardFocus()?
     2.8 +   !!! FIXME:  Also, SDL_GetKeyboardFocus() is O(1), this isn't. */
     2.9  SDL_Window *
    2.10  SDL_GetFocusWindow(void)
    2.11  {