Skip to content

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

fix: flickers child screen when resizing window (#9645)

fufesoucdd58e77ebbf
diff --git a/flutter/lib/utils/multi_window_manager.dart b/flutter/lib/utils/multi_window_manager.dart
index 191152c86..fa35b4fe9 100644
--- a/flutter/lib/utils/multi_window_manager.dart
+++ b/flutter/lib/utils/multi_window_manager.dart
@@ -124,6 +124,9 @@ class RustDeskMultiWindowManager {
bool withScreenRect,
) async {
final windowController = await DesktopMultiWindow.createWindow(msg);
+ if (isWindows) {
+ windowController.setInitBackgroundColor(Colors.black);
+ }
final windowId = windowController.windowId;
if (!withScreenRect) {
windowController
diff --git a/flutter/pubspec.lock b/flutter/pubspec.lock
index 6210b5399..6551bbb37 100644
--- a/flutter/pubspec.lock
+++ b/flutter/pubspec.lock
@@ -335,7 +335,7 @@ packages:
description:
path: "."
ref: HEAD
- resolved-ref: "0842f44d8644911f65a6b78be22474af0f8a9349"
+ resolved-ref: "519350f1f40746798299e94786197d058353bac9"
url: "https://github.com/rustdesk-org/rustdesk_desktop_multi_window"
source: git
version: "0.1.0"