diff --git a/src/server/connection.rs b/src/server/connection.rs index c4156c545738..e05559f9c896 100644 --- a/src/server/connection.rs +++ b/src/server/connection.rs @@ -1221,7 +1221,7 @@ impl Connection { Ok(displays) => { // For compatibility with old versions, we need to send the displays to the peer. // But the displays may be updated later, before creating the video capturer. - pi.displays = displays.clone(); + pi.displays = displays; pi.current_display = self.display_idx as _; res.set_peer_info(pi); sub_service = true;