Resize/restore fix

After maximizing and restoring an app, a RESIZE event is not sent.

It looks like the video surface height and width isn’t actually getting
updated after the maximize, so when the restore comes along, it ignores
the event, since it thinks it’s not actually changing the size.

The attached patch fixes this (but perhaps not in the correct way).–
Glenn Maynard
-------------- next part --------------
— SDL_sysevents.c.old 2003-02-09 15:16:00.000000000 -0500
+++ /home/glenn/hm/stepmania/src/SDL-1.2.5/src/video/wincommon/SDL_sysevents.c 2003-02-01 22:40:08.000000000 -0500
@@ -470,6 +458,8 @@
if ( SDL_PublicSurface &&
(SDL_PublicSurface->flags & SDL_RESIZABLE) ) {
SDL_PrivateResize(w, h);

  •   		SDL_VideoSurface->w = w;
    
  •   		SDL_VideoSurface->h = h;
      	}
      }
      break;