src/video/SDL_video.c
changeset 3503 7931094e4c48
parent 3502 98a819296cdc
child 3511 42cfa69e351b
equal deleted inserted replaced
3502:98a819296cdc 3503:7931094e4c48
  1486     int i, j;
  1486     int i, j;
  1487 
  1487 
  1488     if (!_this) {
  1488     if (!_this) {
  1489         return;
  1489         return;
  1490     }
  1490     }
       
  1491 
  1491     /* Restore video mode, etc. */
  1492     /* Restore video mode, etc. */
  1492     SDL_SendWindowEvent(windowID, SDL_WINDOWEVENT_FOCUS_LOST, 0, 0);
  1493     SDL_SetWindowFullscreen(windowID, 0);
  1493 
  1494 
  1494     for (i = 0; i < _this->num_displays; ++i) {
  1495     for (i = 0; i < _this->num_displays; ++i) {
  1495         SDL_VideoDisplay *display = &_this->displays[i];
  1496         SDL_VideoDisplay *display = &_this->displays[i];
  1496         for (j = 0; j < display->num_windows; ++j) {
  1497         for (j = 0; j < display->num_windows; ++j) {
  1497             SDL_Window *window = &display->windows[j];
  1498             SDL_Window *window = &display->windows[j];