Don't automatically send minimized and maximized events, it's up to the windowing system to decide what to do with them.
This commit is contained in:
parent
252402726d
commit
36be715703
1 changed files with 0 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue