mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
fix extracted forground window not foreground (#8521)
Signed-off-by: 21pages <sunboeasy@gmail.com>
This commit is contained in:
@@ -87,6 +87,8 @@ pub fn start(args: &mut [String]) {
|
||||
frame.set_title(&crate::get_app_name());
|
||||
#[cfg(target_os = "macos")]
|
||||
crate::platform::delegate::make_menubar(frame.get_host(), args.is_empty());
|
||||
#[cfg(windows)]
|
||||
crate::platform::try_set_window_foreground(frame.get_hwnd() as _);
|
||||
let page;
|
||||
if args.len() > 1 && args[0] == "--play" {
|
||||
args[0] = "--connect".to_owned();
|
||||
|
||||
Reference in New Issue
Block a user