mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
fix, sciter, dpi awareness
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
@@ -27,6 +27,10 @@ fn main() {
|
||||
if !common::global_init() {
|
||||
return;
|
||||
}
|
||||
#[cfg(all(windows, not(feature = "inline")))]
|
||||
unsafe {
|
||||
winapi::um::shellscalingapi::SetProcessDpiAwareness(2);
|
||||
}
|
||||
if let Some(args) = crate::core_main::core_main().as_mut() {
|
||||
ui::start(args);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user