diff options
author | Yonit Halperin <yhalperi@redhat.com> | 2010-06-09 13:21:57 +0300 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2010-06-21 15:18:46 +0200 |
commit | ae1de849acd1e58772dc3f318324ed936ff5f21c (patch) | |
tree | 9dc12bf3ddaced67a54841b71c9eba3174347ac2 | |
parent | 537280f183d3a35e8dee8a20238c71e7440cb28c (diff) | |
download | spice-ae1de849acd1e58772dc3f318324ed936ff5f21c.tar.gz spice-ae1de849acd1e58772dc3f318324ed936ff5f21c.tar.xz spice-ae1de849acd1e58772dc3f318324ed936ff5f21c.zip |
fix for not reseting client palette caches on migration
-rw-r--r-- | server/red_worker.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/red_worker.c b/server/red_worker.c index 4ee0c616..3a0b16e0 100644 --- a/server/red_worker.c +++ b/server/red_worker.c @@ -10401,6 +10401,8 @@ static int display_channel_handle_migrate_data(DisplayChannel *channel, size_t s PANIC("restoring global lz dictionary failed"); } + red_pipe_add_type((RedChannel *)channel, PIPE_ITEM_TYPE_INVAL_PALLET_CACHE); + channel->base.messages_window = 0; return TRUE; } |