mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-12 19:17:58 +00:00
fix: save/restore window position on macos
also hide on launch
This commit is contained in:
@@ -49,7 +49,8 @@ class MainFlutterWindow: NSWindow {
|
||||
super.awakeFromNib()
|
||||
}
|
||||
|
||||
// override func bitsdojo_window_configure() -> UInt {
|
||||
// return BDW_CUSTOM_FRAME | BDW_HIDE_ON_STARTUP
|
||||
// }
|
||||
override public func order(_ place: NSWindow.OrderingMode, relativeTo otherWin: Int) {
|
||||
super.order(place, relativeTo: otherWin)
|
||||
hiddenWindowAtLaunch()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user