summaryrefslogtreecommitdiffstats
path: root/main/virt-manager/dont-double-create-spice-display.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-07-19 15:02:18 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-07-19 15:02:18 +0000
commit73b4a1dcdba7069e89199160974159a3c4b9a6f0 (patch)
treeed76d4fe3dc7dc6a259b0174856c6468106c1cdf /main/virt-manager/dont-double-create-spice-display.patch
parent5b9d90d339f52b93cbfcead950e13453080f954c (diff)
downloadaports-73b4a1dcdba7069e89199160974159a3c4b9a6f0.tar.bz2
aports-73b4a1dcdba7069e89199160974159a3c4b9a6f0.tar.xz
main/virt-manager: try fix display issue on spice
Diffstat (limited to 'main/virt-manager/dont-double-create-spice-display.patch')
-rw-r--r--main/virt-manager/dont-double-create-spice-display.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/main/virt-manager/dont-double-create-spice-display.patch b/main/virt-manager/dont-double-create-spice-display.patch
new file mode 100644
index 000000000..c9a3a9c08
--- /dev/null
+++ b/main/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