diff options
| author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2022-02-16 22:52:14 +0400 |
|---|---|---|
| committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2022-03-14 15:16:08 +0400 |
| commit | 417a231947fb19b842fec3922713ffe3142b2c6c (patch) | |
| tree | cde24cceca7624d7a8f4bab2b894723fb76b2eb5 /ui/dbus.c | |
| parent | cd19c25fbfaeee8865a2f8dcb532d758615bc8c9 (diff) | |
| download | focaccia-qemu-417a231947fb19b842fec3922713ffe3142b2c6c.tar.gz focaccia-qemu-417a231947fb19b842fec3922713ffe3142b2c6c.zip | |
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>
Diffstat (limited to 'ui/dbus.c')
| -rw-r--r-- | ui/dbus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/dbus.c b/ui/dbus.c index f00a44421c..22c82d2f32 100644 --- a/ui/dbus.c +++ b/ui/dbus.c @@ -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 = { |