mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
ui/dbus: associate the DBusDisplayConsole listener with the given console
DBusDisplayConsole is specific to a given QemuConsole.
Fixes: commit 142ca628
("ui: add a D-Bus display backend")
Reported-by: Akihiko Odaki <akihiko.odaki@gmail.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
cd19c25fbf
commit
417a231947
3 changed files with 17 additions and 15 deletions
|
@ -52,7 +52,7 @@ static bool
|
|||
dbus_is_compatible_dcl(DisplayGLCtx *dgc,
|
||||
DisplayChangeListener *dcl)
|
||||
{
|
||||
return dcl->ops == &dbus_gl_dcl_ops;
|
||||
return dcl->ops == &dbus_gl_dcl_ops || dcl->ops == &dbus_console_dcl_ops;
|
||||
}
|
||||
|
||||
static const DisplayGLCtxOps dbus_gl_ops = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue