mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-12 11:06:57 +00:00
refact, separate remote window, save session position
Signed-off-by: dignow <linlong1265@gmail.com>
This commit is contained in:
@@ -70,7 +70,7 @@ class RustDeskMultiWindowManager {
|
||||
newSessionWindow() async {
|
||||
final windowController = await DesktopMultiWindow.createWindow(msg);
|
||||
windowController
|
||||
..setFrame(const Offset(0, 0) & const Size(1280, 720))
|
||||
..setFrame(const Offset(0, 0) & Size(1280 + windowController.windowId * 20, 720 + windowController.windowId * 20))
|
||||
..center()
|
||||
..setTitle(getWindowNameWithId(
|
||||
remoteId,
|
||||
|
||||
Reference in New Issue
Block a user