Re: [Qemu-devel] [PATCH 1/2] console: introduce dpy_gfx_switch_surface

2018-04-23 Thread Gerd Hoffmann
Hi, > void dpy_gfx_replace_surface(QemuConsole *con, > DisplaySurface *surface); > +void dpy_gfx_switch_surface(QemuConsole *con, > + DisplaySurface *surface); Why? Any problems with dpy_gfx_replace_surface? cheers, Gerd

[Qemu-devel] [PATCH 1/2] console: introduce dpy_gfx_switch_surface

2018-04-23 Thread Tina Zhang
dpy_gfx_switch_surface is used to ask each valid DisplayChangeListener of a QemuConsole to switch to another DisplaySurface. Signed-off-by: Tina Zhang --- include/ui/console.h | 2 ++ ui/console.c | 16 2 files changed, 18 insertions(+) diff --git a/include/ui/console.