> +static void dpy_gfx_switch(DisplayChangeListener *dcl, DisplaySurface
> *surface)
int width, int height;
> +static DisplaySurface *placeholder;
> +static const char placeholder_msg[] = "Display output is not active.";
> +DisplaySurface *broadcast;
> +
> +if
ui/console used to accept NULL as graphic console surface, but its
semantics was inconsistent among displays:
- cocoa and gtk-egl perform NULL dereference.
- egl-headless, spice and spice-egl do nothing.
- gtk releases underlying resources.
- sdl2-2d and sdl2-gl destroys the window.
- vnc shows a