We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc92c87 commit ef8d6e1Copy full SHA for ef8d6e1
src/main/index.ts
@@ -41,7 +41,10 @@ configManager.setStore(store);
41
* @param onTop True if the window should be always on top. False otherwise.
42
*/
43
const setAlwaysOnTop = (onTop: boolean) => {
44
- if (process.platform === 'win32') {
+ // Issue 207: Always on top wasn't working on Arch Linux in some situations, and some random old posts
45
+ // online seemed to indicate that explicitly specifying a level would fix it. That's how it was
46
+ // set up for Windows anyway, so do that on every platform except MacOS.
47
+ if (process.platform !== 'darwin') {
48
mainWindow.setAlwaysOnTop(onTop, 'normal');
49
} else {
50
mainWindow.setAlwaysOnTop(onTop);
0 commit comments