diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2024-06-05 15:14:41 +0200 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-06-19 12:42:03 +0200 |
commit | b1cf266c82cb1211ee2785f1813a6a3f3e693390 (patch) | |
tree | 05a0cccb86b8fd82b4235bc12db26c1f5f884c02 /ui/input-legacy.c | |
parent | e7b53d160f61b3de2c1db6007848ac6748d93ab4 (diff) |
stdvga: fix screen blanking
In case the display surface uses a shared buffer (i.e. uses vga vram
directly instead of a shadow) go unshare the buffer before clearing it.
This avoids vga memory corruption, which in turn fixes unblanking not
working properly with X11.
Cc: qemu-stable@nongnu.org
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2067
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-ID: <20240605131444.797896-2-kraxel@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'ui/input-legacy.c')
0 files changed, 0 insertions, 0 deletions