mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-12 02:57:22 +00:00
fix: macos tab drag (#8242)
Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
@@ -95,6 +95,7 @@ Future<void> main(List<String> args) async {
|
||||
desktopType = DesktopType.main;
|
||||
await windowManager.ensureInitialized();
|
||||
windowManager.setPreventClose(true);
|
||||
windowManager.setMovable(false);
|
||||
runMainApp(true);
|
||||
}
|
||||
}
|
||||
@@ -167,6 +168,7 @@ void runMultiWindow(
|
||||
final title = getWindowName();
|
||||
// set prevent close to true, we handle close event manually
|
||||
WindowController.fromWindowId(kWindowId!).setPreventClose(true);
|
||||
WindowController.fromWindowId(kWindowId!).setMovable(false);
|
||||
late Widget widget;
|
||||
switch (appType) {
|
||||
case kAppTypeDesktopRemote:
|
||||
|
||||
Reference in New Issue
Block a user