diff options
-rw-r--r-- | client/display_channel.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/client/display_channel.cpp b/client/display_channel.cpp index 49a4c6af..9ba93c48 100644 --- a/client/display_channel.cpp +++ b/client/display_channel.cpp @@ -1276,6 +1276,10 @@ void DisplayChannel::create_canvas(int surface_id, const std::vector<int>& canva if (i == canvas_types.size()) { THROW("create canvas failed"); } + + // make sure to refresh the whole display + SpiceRect rect = { 0, 0, width, height }; + invalidate(rect, true); } void DisplayChannel::handle_mode(RedPeer::InMessage* message) |