For some reason, trying to raise the window programmatically while it's alt-tabbed away will minimize it. Added a workaround for this.
This commit is contained in:
parent
0b7df34286
commit
73bc021063
1 changed files with 3 additions and 0 deletions
|
@ -403,6 +403,9 @@ void
|
||||||
WIN_RaiseWindow(_THIS, SDL_Window * window)
|
WIN_RaiseWindow(_THIS, SDL_Window * window)
|
||||||
{
|
{
|
||||||
WIN_SetWindowPositionInternal(_this, window, SWP_NOCOPYBITS | SWP_NOMOVE | SWP_NOSIZE);
|
WIN_SetWindowPositionInternal(_this, window, SWP_NOCOPYBITS | SWP_NOMOVE | SWP_NOSIZE);
|
||||||
|
|
||||||
|
/* Raising the window while alt-tabbed can cause it to be minimized for some reason? */
|
||||||
|
WIN_RestoreWindow(_this, window);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue