diff options
author | Maxim Devaev <[email protected]> | 2021-11-04 02:42:48 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2021-11-04 02:42:48 +0300 |
commit | aed6fd10ed0d29a5534618f1a75a337e03bc4eb5 (patch) | |
tree | e518e7a6448538c948066bb7fde41c6fc846246a /web/share/js | |
parent | 653bef865754a211660da892cb67cbedd5b081dc (diff) |
pikvm/pikvm#531: improved fullscreen focus
Diffstat (limited to 'web/share/js')
-rw-r--r-- | web/share/js/wm.js | 1 |
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); }); } |