diff src/events/SDL_windowevents.c @ 2849:523b10db69f8

There's no reason to add extra code to notify the mice of window size changes. Just query the window size when we care about it. :)
author Sam Lantinga <slouken@libsdl.org>
date Sun, 07 Dec 2008 21:53:28 +0000
parents f7872b7a8732
children 99210400e8b9
line wrap: on
line diff
--- a/src/events/SDL_windowevents.c	Sun Dec 07 07:16:40 2008 +0000
+++ b/src/events/SDL_windowevents.c	Sun Dec 07 21:53:28 2008 +0000
@@ -74,7 +74,6 @@
         window->w = data1;
         window->h = data2;
         SDL_OnWindowResized(window);
-        SDL_SetMouseFocusSize(windowID, window->w, window->h);
         break;
     case SDL_WINDOWEVENT_MINIMIZED:
         if (window->flags & SDL_WINDOW_MINIMIZED) {