aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sdl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sdl.c b/sdl.c
index 326935a78f..5e70ac08b3 100644
--- a/sdl.c
+++ b/sdl.c
@@ -451,7 +451,8 @@ static void sdl_refresh(DisplayState *ds)
break;
case SDL_QUIT:
if (!no_quit) {
- qemu_system_shutdown_request();
+ qemu_system_shutdown_request();
+ vm_start(); /* In case we're paused */
}
break;
case SDL_MOUSEMOTION: