Skip to content
  • Gerd Hoffmann's avatar
    console: allow pinning displaychangelisteners to consoles · 284d1c6b
    Gerd Hoffmann authored
    
    
    DisplayChangeListener gets a new QemuConsole field, which can be set to
    non-NULL before registering.  This will pin the QemuConsole, so that
    particular DisplayChangeListener will not follow console switches.
    
    spice+gtk (which don't support text console input anyway) are switched
    over to be pinned to console 0, which usually is the graphical display.
    
    Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
    284d1c6b