refact, separate remote window, save session position
Signed-off-by: dignow <linlong1265@gmail.com>
This commit is contained in:
parent
773a74e2a9
commit
688ecef4cc
6 changed files with 60 additions and 5 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue