]> Git Repo - qemu.git/commit - ui/sdl2.c
sdl2: Fix broken display updating after the window is hidden
authorJindrich Makovicka <[email protected]>
Sun, 12 Nov 2017 19:30:25 +0000 (20:30 +0100)
committerGerd Hoffmann <[email protected]>
Thu, 16 Nov 2017 08:57:47 +0000 (09:57 +0100)
commitbcf43cdc178ffbd06d0533b6c54e92640817c9c7
tree9c0c6dc5994e10080a25db286867ad62a50982ad
parent24952847ad50f1b120287fdc4469b78108eef33c
sdl2: Fix broken display updating after the window is hidden

With SDL 2.0.6, calling SDL_ShowWindow during SDL_WINDOWEVENT_HIDDEN
blocks all subsequent display updates.

Instead of trying to override the change, just update the scon->hidden
flag.

Signed-off-by: Jindrich Makovicka <[email protected]>
Message-Id: <20171112193032[email protected]>

This is a partial revert of d3f3a0f453ea590be529079ae214c200bb5ecc1a,
which in turn is a workaround for a SDL bug.  The bug is fixed in 2.0.6,
see https://bugzilla.libsdl.org/show_bug.cgi?id=3410

Signed-off-by: Gerd Hoffmann <[email protected]>
ui/sdl2.c
This page took 0.02507 seconds and 4 git commands to generate.