fix cm minimized not working sometimes

This commit is contained in:
rustdesk 2021-12-29 00:05:52 +08:00
parent 66e39b62a2
commit 2631c68b88

View File

@ -101,7 +101,9 @@ class Body: Reactor.Component
connection.authorized = true;
body.update();
handler.authorize(cid);
view.windowState = View.WINDOW_MINIMIZED;
self.timer(30ms, function() {
view.windowState = View.WINDOW_MINIMIZED;
});
});
}