Skip to content

Commit

Permalink
cleanup, maybe?
Browse files Browse the repository at this point in the history
  • Loading branch information
catdad committed Jun 5, 2024
1 parent 5aeccf7 commit 41f8c02
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
};

Expand Down

0 comments on commit 41f8c02

Please sign in to comment.