diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2013-03-15 15:45:54 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2013-04-16 09:26:20 +0200 |
commit | 284d1c6b3bf4ece6278f4b9831c7192e3777290c (patch) | |
tree | a768e1d5c63c5404f0c239b1488bc2935775f35c /include/ui/spice-display.h | |
parent | 81c0d5a66295024d0a42e3d28efcd102a32f93c3 (diff) | |
download | qemu-284d1c6b3bf4ece6278f4b9831c7192e3777290c.zip qemu-284d1c6b3bf4ece6278f4b9831c7192e3777290c.tar.gz qemu-284d1c6b3bf4ece6278f4b9831c7192e3777290c.tar.bz2 |
console: allow pinning displaychangelisteners to consoles
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: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'include/ui/spice-display.h')
-rw-r--r-- | include/ui/spice-display.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/ui/spice-display.h b/include/ui/spice-display.h index 7a20fc4..a46bc80 100644 --- a/include/ui/spice-display.h +++ b/include/ui/spice-display.h @@ -71,7 +71,6 @@ typedef struct SimpleSpiceDisplay SimpleSpiceDisplay; typedef struct SimpleSpiceUpdate SimpleSpiceUpdate; struct SimpleSpiceDisplay { - QemuConsole *con; DisplaySurface *ds; DisplayChangeListener dcl; void *buf; |