[PATCH spice-gtk] main: send monitor config if agent is disconnected

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Monitor config can be handled without agent running
---
 gtk/channel-main.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/gtk/channel-main.c b/gtk/channel-main.c
index 58f5d31..4b4f5e8 100644
--- a/gtk/channel-main.c
+++ b/gtk/channel-main.c
@@ -1145,7 +1145,6 @@ gboolean spice_main_send_monitor_config(SpiceMainChannel *channel)
 
     g_return_val_if_fail(SPICE_IS_MAIN_CHANNEL(channel), FALSE);
     c = channel->priv;
-    g_return_val_if_fail(c->agent_connected, FALSE);
 
     if (spice_main_agent_test_capability(channel,
                                      VD_AGENT_CAP_SPARSE_MONITORS_CONFIG)) {
@@ -1400,8 +1399,6 @@ static gboolean timer_set_display(gpointer data)
     gint i;
 
     c->timer_id = 0;
-    if (!c->agent_connected)
-        return FALSE;
 
     session = spice_channel_get_session(SPICE_CHANNEL(channel));
 
-- 
1.8.5.3

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]