diff options
author | Alon Levy <alevy@redhat.com> | 2010-06-22 10:32:09 +0300 |
---|---|---|
committer | Uri Lublin <uril@redhat.com> | 2010-06-29 15:51:59 +0300 |
commit | b0673c7580285c0428cb95a29fd8c225a8050697 (patch) | |
tree | f75d1618e5e0e5e8f4d68df500bea9aa74bddccd | |
parent | 5b80cace43486fbfc9b3f31ce820bf3cd0ee249f (diff) |
client: spicec --full-screen=auto-conf do not resize after migration #584318spice-client-0.4.2-14.el6
When running spicec --full-screen=auto-conf and then migrating the machine,
after migration is complete spicec issues a new request to the vdagent to
resize the screen. This is a result of the new "disconnect/connect" migration
introduced recently. There is even functionality to avoid sending a monitor
message twice already, but on disconnect it is explicitly reset. The one line
solution is to not reset _agent_mon_config_sent
-rw-r--r-- | client/red_client.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/client/red_client.cpp b/client/red_client.cpp index 64b518a4..6a5d7b9c 100644 --- a/client/red_client.cpp +++ b/client/red_client.cpp @@ -577,6 +577,7 @@ void RedClient::send_agent_monitors_config() _agent_tokens--; post_message(message); _agent_mon_config_sent = true; + _auto_display_res = false; // XXX: remove once migration is back to normal, } #define MIN_DISPLAY_PIXMAP_CACHE (1024 * 1024 * 20) |