Alberto Garcia 08d49df0db sdl2: fix crash in handle_windowevent() when restoring the screen size
The Ctrl-Alt-u keyboard shortcut restores the screen to its original
size. In the SDL2 UI this is done by destroying the window and
creating a new one. The old window emits SDL_WINDOWEVENT_HIDDEN when
it's destroyed, but trying to call SDL_GetWindowFromID() from that
event's window ID returns a null pointer. handle_windowevent() assumes
that the pointer is never null so it results in a crash.

Cc: qemu-stable@nongnu.org
Signed-off-by: Alberto Garcia <berto@igalia.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2015-06-09 10:25:21 +02:00
2015-06-04 18:33:24 +01:00
2015-03-19 11:30:37 +03:00
2015-06-08 15:57:41 +01:00
2015-05-29 12:53:12 +02:00
2015-05-11 08:59:07 -04:00
2015-05-29 10:30:06 +02:00
2015-06-05 17:10:00 +02:00
2012-09-07 09:02:44 +03:00
2015-04-04 09:45:59 +03:00
2014-06-16 13:24:35 +02:00
2013-09-05 09:40:31 -05:00
2015-05-29 12:53:12 +02:00
2015-04-28 15:36:09 +02:00
2013-10-11 09:34:56 -07:00
2015-06-04 14:04:14 +01:00
2008-10-12 17:54:42 +00:00
2015-06-03 14:21:24 +03:00
2015-04-30 16:05:48 +03:00
2013-07-23 02:41:31 +02:00
2015-05-08 14:11:10 +03:00
2015-06-02 15:15:52 -03:00
2015-06-03 14:21:24 +03:00
2015-05-22 17:08:01 +02:00
2014-05-24 00:07:29 +04:00
2015-05-11 08:59:07 -04:00
2015-05-22 15:58:22 -04:00
2013-10-11 09:34:56 -07:00
2015-05-14 12:15:18 -07:00
2015-04-25 22:05:07 +01:00
2013-10-11 09:34:56 -07:00
2015-06-05 17:36:39 +02:00

Read the documentation in qemu-doc.html or on http://wiki.qemu-project.org

- QEMU team
Description
A fork of QEMU-Nyx which is better suited for my bachelors thesis
Readme 154 MiB