ui: Remove displaychangelistener updates on window state change

This commit is contained in:
Matt Borgerson 2020-03-25 01:49:14 -07:00
parent a764c4e9af
commit 0cbbb9c55b
1 changed files with 0 additions and 2 deletions

View File

@ -578,10 +578,8 @@ static void handle_windowevent(SDL_Event *ev)
}
break;
case SDL_WINDOWEVENT_RESTORED:
update_displaychangelistener(&scon->dcl, GUI_REFRESH_INTERVAL_DEFAULT);
break;
case SDL_WINDOWEVENT_MINIMIZED:
update_displaychangelistener(&scon->dcl, 500);
break;
case SDL_WINDOWEVENT_CLOSE:
if (qemu_console_is_graphic(scon->dcl.con)) {