X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=sdl.c;h=981922102d91e5fef05cd3a5bb4d4575c66ffad4;hb=7496f5266c568ceef2d4a3a2d0af381cf1810e30;hp=bc6d60da3a75b4cd70e815dbb9b959300d95fd4f;hpb=de2200d36d70acf874dd806e6bee8a2793e7edc6;p=qemu diff --git a/sdl.c b/sdl.c index bc6d60d..9819221 100644 --- a/sdl.c +++ b/sdl.c @@ -77,6 +77,7 @@ static const uint8_t x_keycode_to_pc_keycode[61] = { 0xd3, /* 107 Del */ 0x9c, /* 108 Enter */ 0x9d, /* 109 Ctrl-R */ + 0x0, /* 110 Pause */ 0xb7, /* 111 Print */ 0xb5, /* 112 Divide */ 0xb8, /* 113 Alt-R */ @@ -263,8 +264,8 @@ static void toggle_full_screen(DisplayState *ds) if (!gui_saved_grab) sdl_grab_end(); } + vga_invalidate_display(); vga_update_display(); - sdl_update(ds, 0, 0, screen->w, screen->h); } static void sdl_refresh(DisplayState *ds) @@ -317,7 +318,7 @@ static void sdl_refresh(DisplayState *ds) sdl_process_key(&ev->key); break; case SDL_QUIT: - reset_requested = 1; + qemu_system_shutdown_request(); break; case SDL_MOUSEMOTION: if (gui_grab) {