mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-04 16:35:19 +00:00
1 parent
2f2a7d1f89
commit
3bb7123dd5
7 files changed
+18
-8
No files matched your search
@@ -282,14 +282,20 @@ impl<T: InvokeUiSession> Session<T> {
|
||||
&& !self.lc.read().unwrap().disable_clipboard.v
|
||||
}
|
||||
|
||||
pub fn refresh_video(&self, display: usize) {
|
||||
#[cfg(feature = "flutter")]
|
||||
pub fn refresh_video(&self, display: i32) {
|
||||
if crate::common::is_support_multi_ui_session_num(self.lc.read().unwrap().version) {
|
||||
self.send(Data::Message(LoginConfigHandler::refresh_display(display)));
|
||||
self.send(Data::Message(LoginConfigHandler::refresh_display(display as _)));
|
||||
} else {
|
||||
self.send(Data::Message(LoginConfigHandler::refresh()));
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(not(feature = "flutter"))]
|
||||
pub fn refresh_video(&self, _display: i32) {
|
||||
self.send(Data::Message(LoginConfigHandler::refresh()));
|
||||
}
|
||||
|
||||
pub fn record_screen(&self, start: bool, display: i32, w: i32, h: i32) {
|
||||
self.send(Data::RecordScreen(
|
||||
start,
|
||||
|
||||
Reference in new issue
Block a user