diff --git a/src/Qt5/imports/FluentUI/Controls/FluWindow.qml b/src/Qt5/imports/FluentUI/Controls/FluWindow.qml index 38f1676f..2ff9aa5f 100644 --- a/src/Qt5/imports/FluentUI/Controls/FluWindow.qml +++ b/src/Qt5/imports/FluentUI/Controls/FluWindow.qml @@ -254,8 +254,14 @@ Window { if(window.useSystemAppBar || FluTools.isWindows10OrGreater()){ return false } - if(window.visibility == Window.Maximized || window.visibility == Window.FullScreen){ - return false + if(FluTools.isMacos()){ + if(window.visibility == Window.FullScreen){ + return false + } + }else{ + if(window.visibility == Window.Maximized || window.visibility == Window.FullScreen){ + return false + } } return true } diff --git a/src/Qt6/imports/FluentUI/Controls/FluWindow.qml b/src/Qt6/imports/FluentUI/Controls/FluWindow.qml index 5b4ad259..8e3630a1 100644 --- a/src/Qt6/imports/FluentUI/Controls/FluWindow.qml +++ b/src/Qt6/imports/FluentUI/Controls/FluWindow.qml @@ -253,8 +253,14 @@ Window { if(window.useSystemAppBar || FluTools.isWindows10OrGreater()){ return false } - if(window.visibility == Window.Maximized || window.visibility == Window.FullScreen){ - return false + if(FluTools.isMacos()){ + if(window.visibility == Window.FullScreen){ + return false + } + }else{ + if(window.visibility == Window.Maximized || window.visibility == Window.FullScreen){ + return false + } } return true }