mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
This commit is contained in:
@@ -191,14 +191,14 @@ impl ConnectionManager {
|
||||
}
|
||||
}
|
||||
},
|
||||
#[cfg(windows)]
|
||||
Data::ClipbaordFile(_clip) => {
|
||||
#[cfg(windows)]
|
||||
_tx_clip_file
|
||||
.send(ClipboardFileData::Clip((id, _clip)))
|
||||
.ok();
|
||||
}
|
||||
#[cfg(windows)]
|
||||
Data::ClipboardFileEnabled(enabled) => {
|
||||
#[cfg(windows)]
|
||||
_tx_clip_file
|
||||
.send(ClipboardFileData::Enable((id, enabled)))
|
||||
.ok();
|
||||
@@ -342,6 +342,7 @@ impl sciter::EventHandler for ConnectionManager {
|
||||
}
|
||||
|
||||
enum ClipboardFileData {
|
||||
#[cfg(windows)]
|
||||
Clip((i32, ipc::ClipbaordFile)),
|
||||
Enable((i32, bool)),
|
||||
}
|
||||
@@ -436,10 +437,6 @@ async fn start_pa() {
|
||||
{
|
||||
device = x;
|
||||
}
|
||||
if device == "Mute" {
|
||||
log::info!("Switch mute mode, skip sample audio.");
|
||||
continue;
|
||||
}
|
||||
if !device.is_empty() {
|
||||
device = crate::platform::linux::get_pa_source_name(&device);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user