[Spice-devel] [PATCH spice-gtk] main: send monitor config if agent is disconnected
Christophe Fergeau
cfergeau at redhat.com
Tue Apr 8 09:09:10 PDT 2014
ACK
On Mon, Apr 07, 2014 at 02:18:21PM +0200, Marc-André Lureau wrote:
> 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 at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20140408/956b6ca0/attachment.sig>
More information about the Spice-devel
mailing list