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(); } };