mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-04 08:34:12 +00:00
fix, sciter, dpi awareness
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
1 parent
2e5eb86c97
commit
b1368fb97e
2 files changed
+4
-4
No files matched your search
@@ -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