opt: ui & cursor

- opt: win7 frameless
- opt: disable cursor output & macos free cache
- opt: main window, set location before show/hide
This commit is contained in:
Kingtous
2022-11-29 23:03:16 +08:00
parent da88d5c0b8
commit 8a4f8e202d
7 changed files with 65 additions and 18 deletions

View File

@@ -202,9 +202,8 @@ class RustDeskMultiWindowManager {
// ignore
} else {
_activeWindows.add(windowId);
_notifyActiveWindow();
}
_notifyActiveWindow();
}
/// Remove active window which has [`windowId`]
@@ -218,8 +217,8 @@ class RustDeskMultiWindowManager {
// ignore
} else {
_activeWindows.remove(windowId);
_notifyActiveWindow();
}
_notifyActiveWindow();
}
void registerActiveWindowListener(VoidCallback callback) {