mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2025-12-26 22:48:19 +00:00
spicec: refresh the display after display resize
This commit is contained in:
parent
0ca7704a5a
commit
862bb2cd07
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user