From b6d6a4360fa0cb5fca476d97a48f331157033ca0 Mon Sep 17 00:00:00 2001 From: fufesou Date: Sat, 11 May 2024 08:53:19 +0800 Subject: [PATCH] fix: linux resizable (#8015) Signed-off-by: fufesou --- flutter/lib/common.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flutter/lib/common.dart b/flutter/lib/common.dart index adbfabc78..c9f781555 100644 --- a/flutter/lib/common.dart +++ b/flutter/lib/common.dart @@ -3266,7 +3266,7 @@ Widget buildVirtualWindowFrame(BuildContext context, Widget child) { ); } -get windowEdgeSize => isLinux && _linuxWindowResizable ? 0.0 : kWindowEdgeSize; +get windowEdgeSize => isLinux && !_linuxWindowResizable ? 0.0 : kWindowEdgeSize; // `windowManager.setResizable(false)` will reset the window size to the default size on Linux and then set unresizable. // See _linuxWindowResizable for more details.