disable WaylandFractionScaleV1 (#1271)

This commit is contained in:
jeffvli
2026-03-15 11:42:25 -07:00
parent 04b22431f4
commit f2ab01199f
+5
View File
@@ -272,6 +272,11 @@ if (isLinux() && !process.argv.some((a) => a.startsWith('--password-store='))) {
app.commandLine.appendSwitch('password-store', passwordStore);
}
// Handle fractional scaling issue from Wayland https://github.com/jeffvli/feishin/issues/1271#issuecomment-4063326712
if (isLinux()) {
app.commandLine.appendSwitch('disable-features', 'WaylandFractionalScaleV1');
}
let mainWindow: BrowserWindow | null = null;
let tray: null | Tray = null;
let exitFromTray = false;