From 846a3e07769dfac8535a300caf1d053359ccf697 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Sat, 24 May 2014 01:27:19 -0400 Subject: [PATCH] Added some FIXMEs. --- src/events/SDL_mouse.c | 1 + src/video/SDL_video.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/events/SDL_mouse.c b/src/events/SDL_mouse.c index fa2f87877..3f82b4ee8 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 37acc87c5..f8556a6d9 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) {