qemu-stable
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-stable] [PATCH] sdl2: fix crash in handle_windowevent() when r


From: Gerd Hoffmann
Subject: Re: [Qemu-stable] [PATCH] sdl2: fix crash in handle_windowevent() when restoring the screen size
Date: Tue, 09 Jun 2015 10:26:06 +0200

On Mo, 2015-06-08 at 11:12 +0200, Alberto Garcia wrote:
> 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.

added to sdl patch queue.

thanks,
  Gerd





reply via email to

[Prev in Thread] Current Thread [Next in Thread]