mirror of
https://github.com/joel16/SDL2.git
synced 2024-12-04 17:44:35 +00:00
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
@ -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…
Reference in New Issue
Block a user