mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-26 21:57:33 +03:00
console: Don't double create spice display
I can't reproduce, but a couple gentoo users have issues that this fixes: https://bugzilla.redhat.com/show_bug.cgi?id=981975
This commit is contained in:
parent
2ca9e364a5
commit
5f497cba41
@ -536,7 +536,8 @@ class SpiceViewer(Viewer):
|
||||
channel.connect_after("channel-event", self._main_channel_event_cb)
|
||||
return
|
||||
|
||||
if type(channel) == SpiceClientGLib.DisplayChannel:
|
||||
if (type(channel) == SpiceClientGLib.DisplayChannel and
|
||||
not self.display):
|
||||
channel_id = channel.get_property("channel-id")
|
||||
|
||||
if channel_id != 0:
|
||||
|
Loading…
x
Reference in New Issue
Block a user