From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NZvR1-0000Ua-VZ for qemu-devel@nongnu.org; Tue, 26 Jan 2010 19:07:04 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NZvQx-0000TD-G7 for qemu-devel@nongnu.org; Tue, 26 Jan 2010 19:07:03 -0500 Received: from [199.232.76.173] (port=60600 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NZvQx-0000T7-3d for qemu-devel@nongnu.org; Tue, 26 Jan 2010 19:06:59 -0500 Received: from mail-iw0-f188.google.com ([209.85.223.188]:39899) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NZvQw-00063J-N8 for qemu-devel@nongnu.org; Tue, 26 Jan 2010 19:06:58 -0500 Received: by mail-iw0-f188.google.com with SMTP id 26so5513513iwn.14 for ; Tue, 26 Jan 2010 16:06:58 -0800 (PST) Message-ID: <4B5F83A0.8030706@codemonkey.ws> Date: Tue, 26 Jan 2010 18:06:56 -0600 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] win32/sdl: Fix toggle full screen References: <1264367916-2716-1-git-send-email-hpoussin@reactos.org> In-Reply-To: <1264367916-2716-1-git-send-email-hpoussin@reactos.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Herve Poussineau Cc: qemu-devel@nongnu.org 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 > 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; >