src/events/SDL_windowevents.c
changeset 1915 a228436a2404
parent 1895 c121d94672cb
child 1970 db3ba6c0d0df
--- a/src/events/SDL_windowevents.c	Tue Jul 18 07:49:51 2006 +0000
+++ b/src/events/SDL_windowevents.c	Wed Jul 19 04:24:41 2006 +0000
@@ -60,6 +60,8 @@
         if (data1 == window->x && data2 == window->y) {
             return 0;
         }
+        window->x = data1;
+        window->y = data2;
         break;
     case SDL_WINDOWEVENT_RESIZED:
         if (window->flags & SDL_WINDOW_FULLSCREEN) {
@@ -68,6 +70,8 @@
         if (data1 == window->w && data2 == window->h) {
             return 0;
         }
+        window->w = data1;
+        window->h = data2;
         break;
     case SDL_WINDOWEVENT_MINIMIZED:
         if (window->flags & SDL_WINDOW_MINIMIZED) {