mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-06 20:51:29 +03:00
wayland better uinput control
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
@@ -174,14 +174,13 @@ pub(super) async fn check_init() -> ResultType<()> {
|
||||
|
||||
if minx != maxx && miny != maxy {
|
||||
log::info!(
|
||||
"send uinput resolution: ({}, {}), ({}, {})",
|
||||
"update mouse resolution: ({}, {}), ({}, {})",
|
||||
minx,
|
||||
maxx,
|
||||
miny,
|
||||
maxy
|
||||
);
|
||||
allow_err!(input_service::set_uinput_resolution(minx, maxx, miny, maxy).await);
|
||||
allow_err!(input_service::set_uinput().await);
|
||||
allow_err!(input_service::update_mouse_resolution(minx, maxx, miny, maxy).await);
|
||||
}
|
||||
}
|
||||
Ok(())
|
||||
|
||||
Reference in New Issue
Block a user