src/events/SDL_windowevents.c
changeset 1915 a228436a2404
parent 1895 c121d94672cb
child 1970 db3ba6c0d0df
     1.1 --- a/src/events/SDL_windowevents.c	Tue Jul 18 07:49:51 2006 +0000
     1.2 +++ b/src/events/SDL_windowevents.c	Wed Jul 19 04:24:41 2006 +0000
     1.3 @@ -60,6 +60,8 @@
     1.4          if (data1 == window->x && data2 == window->y) {
     1.5              return 0;
     1.6          }
     1.7 +        window->x = data1;
     1.8 +        window->y = data2;
     1.9          break;
    1.10      case SDL_WINDOWEVENT_RESIZED:
    1.11          if (window->flags & SDL_WINDOW_FULLSCREEN) {
    1.12 @@ -68,6 +70,8 @@
    1.13          if (data1 == window->w && data2 == window->h) {
    1.14              return 0;
    1.15          }
    1.16 +        window->w = data1;
    1.17 +        window->h = data2;
    1.18          break;
    1.19      case SDL_WINDOWEVENT_MINIMIZED:
    1.20          if (window->flags & SDL_WINDOW_MINIMIZED) {