Skip to content

Commit

Permalink
Fixed minimize hotkey would not work
Browse files Browse the repository at this point in the history
  • Loading branch information
midwan committed Jan 22, 2021
1 parent 2b1daa4 commit 561b6df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/osdep/amiberry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ static void amiberry_inactive(struct AmigaMonitor* mon, int minimized)
void minimizewindow(int monid)
{
struct AmigaMonitor* mon = &AMonitors[monid];
if (mon->screen_is_initialized)
if (mon->sdl_window)
SDL_MinimizeWindow(mon->sdl_window);
}

Expand Down

0 comments on commit 561b6df

Please # to comment.