mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
prompt foreground window elevation
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
@@ -985,6 +985,15 @@ impl<T: InvokeUiSession> Remote<T> {
|
||||
.msgbox("custom-uac-nocancel", "Warning", "uac_warning");
|
||||
}
|
||||
}
|
||||
Some(misc::Union::ForegroundWindowElevated(elevated)) => {
|
||||
if elevated {
|
||||
self.handler.msgbox(
|
||||
"custom-elevated-foreground-nocancel",
|
||||
"Warning",
|
||||
"elevated_foreground_window_warning",
|
||||
);
|
||||
}
|
||||
}
|
||||
_ => {}
|
||||
},
|
||||
Some(message::Union::TestDelay(t)) => {
|
||||
|
||||
Reference in New Issue
Block a user