src/video/SDL_video.c
changeset 5261 595814f561f7
parent 5250 f908e06b3c96
child 5262 b530ef003506
equal deleted inserted replaced
5260:62d2bc792002 5261:595814f561f7
  1080 
  1080 
  1081     if (_this->SetWindowFullscreen) {
  1081     if (_this->SetWindowFullscreen) {
  1082         _this->SetWindowFullscreen(_this, window);
  1082         _this->SetWindowFullscreen(_this, window);
  1083     }
  1083     }
  1084     display->fullscreen_window = NULL;
  1084     display->fullscreen_window = NULL;
  1085 
       
  1086     /* Generate a mode change events here */
       
  1087     SDL_SendWindowEvent(window, SDL_WINDOWEVENT_RESIZED,
       
  1088                         window->windowed.w, window->windowed.h);
       
  1089 }
  1085 }
  1090 
  1086 
  1091 SDL_Window *
  1087 SDL_Window *
  1092 SDL_CreateWindow(const char *title, int x, int y, int w, int h, Uint32 flags)
  1088 SDL_CreateWindow(const char *title, int x, int y, int w, int h, Uint32 flags)
  1093 {
  1089 {