From a6668e6367fb045fee5b96cf5cc8fc2923942e8e Mon Sep 17 00:00:00 2001 From: Johannes Millan Date: Thu, 26 Sep 2019 23:05:39 +0200 Subject: [PATCH] fix: make global show/hide work for windows --- electron/main.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/electron/main.ts b/electron/main.ts index 4f57621ef7..345b14edc5 100644 --- a/electron/main.ts +++ b/electron/main.ts @@ -265,6 +265,8 @@ function registerShowAppShortCuts(cfg: KeyboardConfig) { case 'globalShowHide': actionFn = () => { if (mainWin.isFocused()) { + // we need to blur the window for windows + mainWin.blur(); mainWin.hide(); } else { showOrFocus(mainWin);