fix fullscreen issue on linux

This commit is contained in:
rustdesk
2021-05-03 00:50:50 +08:00
parent b5e8b9ee0d
commit dafc34dde5
2 changed files with 4 additions and 1 deletions

View File

@@ -182,6 +182,7 @@ class Header: Reactor.Component {
view.windowState = View.WINDOW_SHOWN;
}
view.windowState = View.WINDOW_FULL_SCREEN;
if (is_linux) { self.timer(150ms, function() { view.windowState = View.WINDOW_FULL_SCREEN; }); }
}
}