summaryrefslogtreecommitdiff
path: root/web/share/js
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2021-11-04 02:42:48 +0300
committerMaxim Devaev <[email protected]>2021-11-04 02:42:48 +0300
commitaed6fd10ed0d29a5534618f1a75a337e03bc4eb5 (patch)
treee518e7a6448538c948066bb7fde41c6fc846246a /web/share/js
parent653bef865754a211660da892cb67cbedd5b081dc (diff)
pikvm/pikvm#531: improved fullscreen focus
Diffstat (limited to 'web/share/js')
-rw-r--r--web/share/js/wm.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/share/js/wm.js b/web/share/js/wm.js
index f45dabd0..0a7d303d 100644
--- a/web/share/js/wm.js
+++ b/web/share/js/wm.js
@@ -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);
});
}