mirror of
https://github.com/Eugeny/tabby.git
synced 2024-12-09 06:20:22 +08:00
fixed focus detection (fixes #185)
This commit is contained in:
parent
e315654d0a
commit
dc864781e4
@ -157,6 +157,7 @@ export class AppRootComponent {
|
||||
if (this.hostApp.getWindow().isFocused()) {
|
||||
// focused
|
||||
this.electron.loseFocus()
|
||||
this.hostApp.getWindow().blur()
|
||||
if (this.hostApp.platform !== Platform.macOS) {
|
||||
this.hostApp.getWindow().hide()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user