OSDN Git Service

ui: use "vc" chardev for dbus, gtk & spice-app
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Fri, 17 Nov 2023 10:55:07 +0000 (14:55 +0400)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 21 Nov 2023 10:38:14 +0000 (14:38 +0400)
commitb7f1bb38b011efd13784e8781dafeedcc6e900a1
tree5d5b95a7f065e4f7ba1bfb3165b5e8d9d2076295
parent69562648f9c35382041d96dc267768cbcc008a41
ui: use "vc" chardev for dbus, gtk & spice-app

Those display have their own implementation of "vc" chardev, which
doesn't use pixman. They also don't implement the width/height/cols/rows
options, so qemu_display_get_vc() should return a compatible argument.

This patch was meant to be with the pixman series, when the "vc" field
was introduced. It fixes a regression where VC are created on the
tty (or null) instead of the display own "vc" implementation.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Thomas Huth <thuth@redhat.com>
ui/dbus.c
ui/gtk.c
ui/spice-app.c