diff --git a/flutter/lib/common.dart b/flutter/lib/common.dart index a4e46e9bd36a..a3b175001515 100644 --- a/flutter/lib/common.dart +++ b/flutter/lib/common.dart @@ -552,7 +552,7 @@ void window_on_top(int? id) async { if (id == null) { print("Bring window on top"); // main window - if (desktopType == DesktopType.cm && + if (!Platform.isMacOS && desktopType == DesktopType.cm && !(await windowManager.isMinimized() || !await windowManager.isVisible())) { await windowManager.setAlwaysOnTop(true);