src/video/SDL_video.c
changeset 5384 93d53f8a2323
parent 5380 2de85077eb0b
child 5385 5f9c2515fc08
equal deleted inserted replaced
5383:40c76519000e 5384:93d53f8a2323
  1542     }
  1542     }
  1543 
  1543 
  1544     if (_this->MaximizeWindow) {
  1544     if (_this->MaximizeWindow) {
  1545         _this->MaximizeWindow(_this, window);
  1545         _this->MaximizeWindow(_this, window);
  1546     }
  1546     }
  1547     SDL_SendWindowEvent(window, SDL_WINDOWEVENT_MAXIMIZED, 0, 0);
       
  1548 }
  1547 }
  1549 
  1548 
  1550 void
  1549 void
  1551 SDL_MinimizeWindow(SDL_Window * window)
  1550 SDL_MinimizeWindow(SDL_Window * window)
  1552 {
  1551 {
  1557     }
  1556     }
  1558 
  1557 
  1559     if (_this->MinimizeWindow) {
  1558     if (_this->MinimizeWindow) {
  1560         _this->MinimizeWindow(_this, window);
  1559         _this->MinimizeWindow(_this, window);
  1561     }
  1560     }
  1562     SDL_SendWindowEvent(window, SDL_WINDOWEVENT_MINIMIZED, 0, 0);
       
  1563 }
  1561 }
  1564 
  1562 
  1565 void
  1563 void
  1566 SDL_RestoreWindow(SDL_Window * window)
  1564 SDL_RestoreWindow(SDL_Window * window)
  1567 {
  1565 {