mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
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:
@@ -496,16 +496,6 @@ class _DesktopHomePageState extends State<DesktopHomePage>
|
||||
// initTray();
|
||||
trayManager.addListener(this);
|
||||
rustDeskWinManager.registerActiveWindowListener(onActiveWindowChanged);
|
||||
// main window may be hidden because of the initial uni link or arguments.
|
||||
// note that we must wrap this active window registration in future because
|
||||
// we must ensure the execution is after `windowManager.hide/show()`.
|
||||
Future.delayed(Duration.zero, () {
|
||||
windowManager.isVisible().then((visibility) {
|
||||
if (visibility) {
|
||||
rustDeskWinManager.registerActiveWindow(kWindowMainId);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
rustDeskWinManager.setMethodHandler((call, fromWindowId) async {
|
||||
debugPrint(
|
||||
|
||||
Reference in New Issue
Block a user