aboutsummaryrefslogtreecommitdiff
path: root/ui/console.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2024-06-05 15:14:42 +0200
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-06-19 12:42:03 +0200
commit9badf12ac20df80542f642d3dab7b2f1a95b20f5 (patch)
tree5163ae90a306f525606399b40219cc2e1af008a5 /ui/console.c
parentb1cf266c82cb1211ee2785f1813a6a3f3e693390 (diff)
downloadqemu-9badf12ac20df80542f642d3dab7b2f1a95b20f5.zip
qemu-9badf12ac20df80542f642d3dab7b2f1a95b20f5.tar.gz
qemu-9badf12ac20df80542f642d3dab7b2f1a95b20f5.tar.bz2
ui+display: rename is_placeholder() -> surface_is_placeholder()
No functional change. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20240605131444.797896-3-kraxel@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'ui/console.c')
-rw-r--r--ui/console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/console.c b/ui/console.c
index 1b2cd0c..c2173fc 100644
--- a/ui/console.c
+++ b/ui/console.c
@@ -1510,7 +1510,7 @@ void qemu_console_resize(QemuConsole *s, int width, int height)
assert(QEMU_IS_GRAPHIC_CONSOLE(s));
if ((s->scanout.kind != SCANOUT_SURFACE ||
- (surface && !is_buffer_shared(surface) && !is_placeholder(surface))) &&
+ (surface && !is_buffer_shared(surface) && !surface_is_placeholder(surface))) &&
qemu_console_get_width(s, -1) == width &&
qemu_console_get_height(s, -1) == height) {
return;