mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-03-15 01:01:01 +03:00
fix: wayland controlled side, cursor misalignment (#13537)
Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
@@ -125,8 +125,9 @@ impl InvokeUiSession for SciterHandler {
|
||||
}
|
||||
}
|
||||
|
||||
fn set_display(&self, x: i32, y: i32, w: i32, h: i32, cursor_embedded: bool) {
|
||||
self.call("setDisplay", &make_args!(x, y, w, h, cursor_embedded));
|
||||
fn set_display(&self, x: i32, y: i32, w: i32, h: i32, cursor_embedded: bool, scale: f64) {
|
||||
let scale = if scale <= 0.0 { 1.0 } else { scale };
|
||||
self.call("setDisplay", &make_args!(x, y, w, h, cursor_embedded, scale));
|
||||
// https://sciter.com/forums/topic/color_spaceiyuv-crash
|
||||
// Nothing spectacular in decoder – done on CPU side.
|
||||
// So if you can do BGRA translation on your side – the better.
|
||||
|
||||
Reference in New Issue
Block a user