Fix bug 3436 - SDL_RaiseWindow not working on windows
This commit is contained in:
1 parent
4e6f219941
commit
f0539aa25e
1 file changed
+2
-1
@@ -478,7 +478,8 @@ WIN_HideWindow(_THIS, SDL_Window * window)
|
||||
void
|
||||
WIN_RaiseWindow(_THIS, SDL_Window * window)
|
||||
{
|
||||
WIN_SetWindowPositionInternal(_this, window, SWP_NOCOPYBITS | SWP_NOMOVE | SWP_NOSIZE);
|
||||
HWND hwnd = ((SDL_WindowData *) window->driverdata)->hwnd;
|
||||
SetForegroundWindow(hwnd);
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in new issue
Block a user