mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-07 15:10:49 +00:00
Add SWP_NOACTIVATE to SetWindowPos flags passed in WIN_SetWindowAlwaysOnTop
This commit is contained in:
parent
693558a894
commit
26f511a8f4
1 changed files with 1 additions and 1 deletions
|
|
@ -1019,7 +1019,7 @@ void WIN_SetWindowResizable(_THIS, SDL_Window *window, SDL_bool resizable)
|
|||
|
||||
void WIN_SetWindowAlwaysOnTop(_THIS, SDL_Window *window, SDL_bool on_top)
|
||||
{
|
||||
WIN_SetWindowPositionInternal(window, SWP_NOMOVE | SWP_NOSIZE);
|
||||
WIN_SetWindowPositionInternal(window, SWP_NOMOVE | SWP_NOSIZE | SWP_NOACTIVATE);
|
||||
}
|
||||
|
||||
void WIN_RestoreWindow(_THIS, SDL_Window *window)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue