mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-04 13:51:27 +03:00
improve mac service
This commit is contained in:
@@ -745,6 +745,10 @@ function self.closing() {
|
||||
// return false; // can prevent window close
|
||||
var (x, y, w, h) = view.box(#rectw, #border, #screen);
|
||||
handler.save_size(x, y, w, h);
|
||||
if (is_osx) {
|
||||
view.windowState = View.WINDOW_HIDDEN;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
function self.ready() {
|
||||
|
||||
Reference in New Issue
Block a user