From 41f8c02381b6b6ebcdd643ad4ca21669fbe8dcb2 Mon Sep 17 00:00:00 2001 From: Kiril Vatev Date: Wed, 5 Jun 2024 18:32:52 -0400 Subject: [PATCH] cleanup, maybe? --- lib/browser.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/browser.js b/lib/browser.js index 7ff21b0..1a068d2 100644 --- a/lib/browser.js +++ b/lib/browser.js @@ -26,10 +26,11 @@ const focus = () => { const enterClickthrough = async () => { for (const window of BrowserWindow.getAllWindows()) { + window.blur(); + window.setIgnoreMouseEvents(true, { forward: true }); window.setAlwaysOnTop(true); window.setVisibleOnAllWorkspaces(true); - window.blur(); } };