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

Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
fufesou
2024-10-14 15:48:56 +08:00
committed by GitHub
parent ce924cc0d3
commit cdd58e77eb
2 changed files with 4 additions and 1 deletions

View File

@@ -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