Skip to content

sdl2: Work around SDL2 SDL_ShowWindow() bug

Max Reitz qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2sdl2: Use correct sdl2_console for window eventsui/sdl2.c+4 -20 replies
2/2sdl2: Work around SDL2 SDL_ShowWindow() bugui/sdl2.c+10 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/2] sdl2: Work around SDL2 SDL_ShowWindow() bug

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(-)
Signature · 1 line
1.9.3