Allow popup windows to be raised through SDL_RaiseWindow
- This allows specific child popup windows to be activated explicitly.
This commit is contained in:
parent
b701ac0266
commit
eaf17050b4
@ -2774,7 +2774,6 @@ int SDL_HideWindow(SDL_Window *window)
|
||||
int SDL_RaiseWindow(SDL_Window *window)
|
||||
{
|
||||
CHECK_WINDOW_MAGIC(window, -1);
|
||||
CHECK_WINDOW_NOT_POPUP(window, -1);
|
||||
|
||||
if (window->flags & SDL_WINDOW_HIDDEN) {
|
||||
return 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user