pikvm/pikvm#531: improved fullscreen focus

This commit is contained in:
Maxim Devaev
2021-11-04 02:42:48 +03:00
parent 653bef8657
commit aed6fd10ed
5 changed files with 17 additions and 0 deletions

View File

@@ -115,6 +115,7 @@ function __WindowManager() {
el_full_screen_button.title = "Go to full-screen mode";
tools.el.setOnClick(el_full_screen_button, function() {
__fullScreenWindow(el_window);
el_window.focus(el_window); // Почему-то теряется фокус
__activateLastWindow(el_window);
});
}