mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-12 19:17:58 +00:00
new on_top not work on macos
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user