mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-13 03:28:03 +00:00
fix: last window location calculation
This commit is contained in:
@@ -168,6 +168,20 @@ void runMultiWindow(
|
||||
widget,
|
||||
MyTheme.currentThemeMode(),
|
||||
);
|
||||
switch (appType) {
|
||||
case kAppTypeDesktopRemote:
|
||||
await restoreWindowPosition(WindowType.RemoteDesktop, windowId: windowId!);
|
||||
break;
|
||||
case kAppTypeDesktopFileTransfer:
|
||||
await restoreWindowPosition(WindowType.FileTransfer, windowId: windowId!);
|
||||
break;
|
||||
case kAppTypeDesktopPortForward:
|
||||
await restoreWindowPosition(WindowType.PortForward, windowId: windowId!);
|
||||
break;
|
||||
default:
|
||||
// no such appType
|
||||
exit(0);
|
||||
}
|
||||
}
|
||||
|
||||
void runConnectionManagerScreen() async {
|
||||
|
||||
Reference in New Issue
Block a user