mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-12 11:06:57 +00:00
opt: add preventClose to handle close event manually
This commit is contained in:
@@ -140,6 +140,8 @@ void runMultiWindow(
|
||||
String title,
|
||||
) async {
|
||||
await initEnv(appType);
|
||||
// set prevent close to true, we handle close event manually
|
||||
WindowController.fromWindowId(windowId!).setPreventClose(true);
|
||||
late Widget widget;
|
||||
switch (appType) {
|
||||
case kAppTypeDesktopRemote:
|
||||
|
||||
Reference in New Issue
Block a user