From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34214) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzMuD-0004sX-FV for qemu-devel@nongnu.org; Fri, 12 Dec 2014 04:53:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XzMu8-0003bN-HM for qemu-devel@nongnu.org; Fri, 12 Dec 2014 04:53:01 -0500 Received: from mx1.redhat.com ([209.132.183.28]:43768) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzMu8-0003bF-8l for qemu-devel@nongnu.org; Fri, 12 Dec 2014 04:52:56 -0500 From: Max Reitz Date: Fri, 12 Dec 2014 10:52:50 +0100 Message-Id: <1418377972-25278-1-git-send-email-mreitz@redhat.com> Subject: [Qemu-devel] [PATCH 0/2] sdl2: Work around SDL2 SDL_ShowWindow() bug List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann , Anthony Liguori , Max Reitz For the bug (it at least seems to me like one), see: https://bugzilla.libsdl.org/show_bug.cgi?id=2818 To reproduce it in qemu, try pressing ctrl-alt-2 five times (or whichever your key combination for showing/hiding the monitor window is). Normally, the window should be shown, hidden, shown, hidden and shown again. However, it will instead be shown, hidden, stay hidden, stay hidden and then be shown. This series fixes this. This series depends on Gerd's series "sdl2: fixes, cleanups and opengl preparation." Max Reitz (2): sdl2: Use correct sdl2_console for window events sdl2: Work around SDL2 SDL_ShowWindow() bug ui/sdl2.c | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) -- 1.9.3