fix: macos, remove unused workaround (#8746)
Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
parent
a72bc0fb28
commit
e9c8ba5393
@ -141,17 +141,7 @@ class RustDeskMultiWindowManager {
|
||||
));
|
||||
}
|
||||
if (isMacOS) {
|
||||
Future.microtask(() {
|
||||
windowController.show();
|
||||
// Manually simulate the hide/show event to fix the issue
|
||||
// https://github.com/rustdesk/rustdesk/issues/8548
|
||||
// https://github.com/flutter/flutter/issues/133533
|
||||
// https://github.com/MixinNetwork/flutter-plugins/issues/289#issuecomment-1817665239
|
||||
// https://github.com/rustdesk/rustdesk/pull/8712#issuecomment-2229912473
|
||||
Future.delayed(const Duration(milliseconds: 300), () {
|
||||
DesktopMultiWindow.hideShow(-1);
|
||||
});
|
||||
});
|
||||
Future.microtask(() => windowController.show());
|
||||
}
|
||||
registerActiveWindow(windowId);
|
||||
windows.add(windowId);
|
||||
|
@ -335,7 +335,7 @@ packages:
|
||||
description:
|
||||
path: "."
|
||||
ref: HEAD
|
||||
resolved-ref: c9ac8e78f8e8f0a554062c2c13cdeb644af2c25b
|
||||
resolved-ref: "336308d86ec8b9640504a371b50ba500eb779363"
|
||||
url: "https://github.com/rustdesk-org/rustdesk_desktop_multi_window"
|
||||
source: git
|
||||
version: "0.1.0"
|
||||
|
Loading…
x
Reference in New Issue
Block a user