This commit is contained in:
KG7x
2022-12-25 20:21:13 +03:00
parent 4e7568dec1
commit 71103886e6
20 changed files with 32 additions and 32 deletions

View File

@@ -305,7 +305,7 @@ fn core_main_invoke_new_connection(mut args: std::env::Args) -> Option<Vec<Strin
let res = crate::platform::send_message_to_hnwd(
"FLUTTER_RUNNER_WIN32_WINDOW",
"RustDesk",
(WM_USER + 2) as _, // refered from unilinks desktop pub
(WM_USER + 2) as _, // referred from unilinks desktop pub
uni_links.as_str(),
true,
);

View File

@@ -500,7 +500,7 @@ pub fn start_os_service() {
Err(err) => {
log::error!("Failed to start server: {}", err);
}
_ => { /*no hapen*/ }
_ => { /*no happen*/ }
}
}
std::thread::sleep(std::time::Duration::from_millis(super::SERVICE_INTERVAL));

View File

@@ -244,7 +244,7 @@ impl Connection {
loop {
tokio::select! {
// biased; // video has higher priority // causing test_delay_timer failed while transfering big file
// biased; // video has higher priority // causing test_delay_timer failed while transferring big file
Some(data) = rx_from_cm.recv() => {
match data {

View File

@@ -223,7 +223,7 @@ lazy_static::lazy_static! {
// First call set_uinput() will create keyboard and mouse clients.
// The clients are ipc connections that must live shorter than tokio runtime.
// Thus this funtion must not be called in a temporary runtime.
// Thus this function must not be called in a temporary runtime.
#[cfg(target_os = "linux")]
pub async fn setup_uinput(minx: i32, maxx: i32, miny: i32, maxy: i32) -> ResultType<()> {
// Keyboard and mouse both open /dev/uinput

View File

@@ -198,7 +198,7 @@ impl VideoQoS {
#[cfg(target_os = "android")]
{
// fix when andorid screen shrinks
// fix when android screen shrinks
let fix = scrap::Display::fix_quality() as u32;
log::debug!("Android screen, fix quality:{}", fix);
let base_bitrate = base_bitrate * fix;

View File

@@ -31,7 +31,7 @@ class Body: Reactor.Component
var disconnected = c.disconnected;
var show_elevation_btn = handler.can_elevate() && show_elevation && !c.is_file_transfer && c.port_forward.length == 0;
var show_accept_btn = handler.get_option('approve-mode') != 'password';
// below size:* is work around for Linux, it alreayd set in css, but not work, shit sciter
// below size:* is work around for Linux, it already set in css, but not work, shit sciter
return <div .content style="size:*">
<div .left-panel>
<div .icon-and-id>

View File

@@ -26,7 +26,7 @@ handler.setDisplay = function(x, y, w, h, cursor_embeded) {
if (recording) handler.record_screen(true, w, h);
}
// in case toolbar not shown correclty
// in case toolbar not shown correctly
view.windowMinSize = (scaleIt(500), scaleIt(300));
function adaptDisplay() {

View File

@@ -95,7 +95,7 @@ extern "C"
CreateEnvironmentBlock(&lpEnvironment, // Environment block
hToken, // New token
TRUE); // Inheritence
TRUE); // Inheritance
}
if (lpEnvironment)
{