Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Don't automatically send minimized and maximized events, it's up to t…

…he windowing system to decide what to do with them.
  • Loading branch information
slouken committed Feb 22, 2011
1 parent 0b3658c commit 913799687dbcfdad6909225214c5be10489d254c
Showing with 0 additions and 2 deletions.
  1. +0 −2 src/video/SDL_video.c
@@ -1544,7 +1544,6 @@ SDL_MaximizeWindow(SDL_Window * window)
if (_this->MaximizeWindow) {
_this->MaximizeWindow(_this, window);
}
SDL_SendWindowEvent(window, SDL_WINDOWEVENT_MAXIMIZED, 0, 0);
}

void
@@ -1559,7 +1558,6 @@ SDL_MinimizeWindow(SDL_Window * window)
if (_this->MinimizeWindow) {
_this->MinimizeWindow(_this, window);
}
SDL_SendWindowEvent(window, SDL_WINDOWEVENT_MINIMIZED, 0, 0);
}

void

0 comments on commit 9137996

Please sign in to comment.