mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-12 19:17:58 +00:00
open individual window, add offset
Signed-off-by: dignow <linlong1265@gmail.com>
This commit is contained in:
@@ -200,8 +200,13 @@ void runMultiWindow(
|
||||
case kAppTypeDesktopRemote:
|
||||
// If screen rect is set, the window will be moved to the target screen and then set fullscreen.
|
||||
if (argument['screen_rect'] == null) {
|
||||
await restoreWindowPosition(WindowType.RemoteDesktop,
|
||||
windowId: kWindowId!, peerId: argument['id'] as String?);
|
||||
// int? display = argument['display'] as int?;
|
||||
await restoreWindowPosition(
|
||||
WindowType.RemoteDesktop,
|
||||
windowId: kWindowId!,
|
||||
peerId: argument['id'] as String?,
|
||||
display: argument['display'] as int?,
|
||||
);
|
||||
}
|
||||
break;
|
||||
case kAppTypeDesktopFileTransfer:
|
||||
|
||||
Reference in New Issue
Block a user