diff options
| author | Marc-André Lureau | 2022-02-20 20:31:58 +0100 |
|---|---|---|
| committer | Marc-André Lureau | 2022-03-14 12:16:21 +0100 |
| commit | c84ab0a500a84851debd1d4485e72325da98c778 (patch) | |
| tree | 135a5f16c4ec37341ec7bd01eee6963fca987ec3 /include/ui | |
| parent | ui/console: add a dpy_gfx_switch callback helper (diff) | |
| download | qemu-c84ab0a500a84851debd1d4485e72325da98c778.tar.gz qemu-c84ab0a500a84851debd1d4485e72325da98c778.tar.xz qemu-c84ab0a500a84851debd1d4485e72325da98c778.zip | |
ui/console: optionally update after gfx switch
When switching to the dummy surface, we should also call gfx_update.
But when using GL, we shouldn't call it.
By making it an argument to displaychangelistener_gfx_switch(), it will
be explicit, and cannot be forgotten that easily.
Fixes: commit ebced091 ("console: save current scanout details")
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'include/ui')
0 files changed, 0 insertions, 0 deletions
