projects
/
qemu
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cpu_single_env init
[qemu]
/
sdl.c
diff --git
a/sdl.c
b/sdl.c
index
dce81e1
..
9819221
100644
(file)
--- a/
sdl.c
+++ b/
sdl.c
@@
-264,8
+264,8
@@
static void toggle_full_screen(DisplayState *ds)
if (!gui_saved_grab)
sdl_grab_end();
}
if (!gui_saved_grab)
sdl_grab_end();
}
+ vga_invalidate_display();
vga_update_display();
vga_update_display();
- sdl_update(ds, 0, 0, screen->w, screen->h);
}
static void sdl_refresh(DisplayState *ds)
}
static void sdl_refresh(DisplayState *ds)
@@
-318,7
+318,7
@@
static void sdl_refresh(DisplayState *ds)
sdl_process_key(&ev->key);
break;
case SDL_QUIT:
sdl_process_key(&ev->key);
break;
case SDL_QUIT:
- reset_requested = 1;
+ qemu_system_shutdown_request();
break;
case SDL_MOUSEMOTION:
if (gui_grab) {
break;
case SDL_MOUSEMOTION:
if (gui_grab) {