aboutsummaryrefslogtreecommitdiffstats
path: root/community/virt-manager/dont-double-create-spice-display.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-11-11 08:37:27 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-11-11 08:37:27 +0000
commitf02ef941452b38484fd996f13a149ecdd89d906a (patch)
treede95f58c139be777246db0af8969235f30d7b6df /community/virt-manager/dont-double-create-spice-display.patch
parent8dd4322146bcbec8de25104f6c3899057bc6ee49 (diff)
downloadaports-f02ef941452b38484fd996f13a149ecdd89d906a.tar.bz2
aports-f02ef941452b38484fd996f13a149ecdd89d906a.tar.xz
community/virt-manager: move to community
Diffstat (limited to 'community/virt-manager/dont-double-create-spice-display.patch')
-rw-r--r--community/virt-manager/dont-double-create-spice-display.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/community/virt-manager/dont-double-create-spice-display.patch b/community/virt-manager/dont-double-create-spice-display.patch
new file mode 100644
index 0000000000..c9a3a9c080
--- /dev/null
+++ b/community/virt-manager/dont-double-create-spice-display.patch
@@ -0,0 +1,26 @@
+From 5f497cba41785fc5532633811001958f99573f9b Mon Sep 17 00:00:00 2001
+From: Cole Robinson <crobinso@redhat.com>
+Date: Tue, 09 Jul 2013 21:50:05 +0000
+Subject: 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
+---
+diff --git a/virtManager/console.py b/virtManager/console.py
+index 51175c0..553c022 100644
+--- a/virtManager/console.py
++++ b/virtManager/console.py
+@@ -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:
+--
+cgit v0.9.1