|
From: | Anthony Liguori |
Subject: | Re: [Qemu-devel] [PATCH] win32/sdl: Fix toggle full screen |
Date: | Tue, 26 Jan 2010 18:06:56 -0600 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091209 Fedora/3.0-4.fc12 Lightning/1.0pre Thunderbird/3.0 |
On 01/24/2010 03:18 PM, Herve Poussineau wrote:
Toggle full screen on Win32/SDL 1.2.13 was broken by commit c18a2c360e3100bbd71162cf922dcd8c429a8b71. Re-add the call to do_sdl_resize() which was removed in this revision Signed-off-by: Herve Poussineau<address@hidden>
Applied. Thanks. Regards, Anthony Liguori
--- sdl.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/sdl.c b/sdl.c index 034440f..7912c91 100644 --- a/sdl.c +++ b/sdl.c @@ -525,6 +525,7 @@ static void sdl_send_mouse_event(int dx, int dy, int dz, int x, int y, int state static void toggle_full_screen(DisplayState *ds) { gui_fullscreen = !gui_fullscreen; + do_sdl_resize(real_screen->w, real_screen->h, real_screen->format->BitsPerPixel); if (gui_fullscreen) { scaling_active = 0; gui_saved_grab = gui_grab;
[Prev in Thread] | Current Thread | [Next in Thread] |