Navigation Menu

Skip to content

Commit

Permalink
Windows are not in a minimized state when they are shown
Browse files Browse the repository at this point in the history
This fixes ValveSoftware/steam-for-linux#4313
"Exiting game a in Steam Big Picture Mode gets semi-windowed BPM"
  • Loading branch information
slouken committed May 15, 2019
1 parent abcfe80 commit 62a5797
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/events/SDL_windowevents.c
Expand Up @@ -84,7 +84,7 @@ SDL_SendWindowEvent(SDL_Window * window, Uint8 windowevent, int data1,
if (window->flags & SDL_WINDOW_SHOWN) {
return 0;
}
window->flags &= ~SDL_WINDOW_HIDDEN;
window->flags &= ~(SDL_WINDOW_HIDDEN | SDL_WINDOW_MINIMIZED);
window->flags |= SDL_WINDOW_SHOWN;
SDL_OnWindowShown(window);
break;
Expand Down

0 comments on commit 62a5797

Please sign in to comment.