[Spice-commits] src/channel-display.c
Pavel Grunt
pgrunt at kemper.freedesktop.org
Mon Aug 3 02:17:18 PDT 2015
src/channel-display.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
New commits:
commit 45d013913710110efd19f86fd2e54d38adc1a8d4
Author: Pavel Grunt <pgrunt at redhat.com>
Date: Thu Jul 30 13:51:44 2015 +0200
Notify about existence of monitor for all display channels
Windows guest can have disabled display on the display chanel #0, in
that case it will not be listed in virt-viewer's "View->Displays" menu
Resolves:
https://bugs.freedesktop.org/show_bug.cgi?id=91489
diff --git a/src/channel-display.c b/src/channel-display.c
index e3f03fc..752d69d 100644
--- a/src/channel-display.c
+++ b/src/channel-display.c
@@ -809,10 +809,8 @@ static void spice_display_channel_up(SpiceChannel *channel)
out->marshallers->msgc_display_init(out->marshaller, &init);
spice_msg_out_send_internal(out);
- /* if we are not using monitors config, notify of existence of
- this monitor */
- if (channel->priv->channel_id != 0)
- g_coroutine_object_notify(G_OBJECT(channel), "monitors");
+ /* notify of existence of this monitor */
+ g_coroutine_object_notify(G_OBJECT(channel), "monitors");
if (spice_channel_test_capability(channel, SPICE_DISPLAY_CAP_PREF_COMPRESSION) &&
preferred_compression > SPICE_IMAGE_COMPRESS_INVALID) {
More information about the Spice-commits
mailing list