From f2ab01199f7b324698d65c51efd16d92726d5917 Mon Sep 17 00:00:00 2001 From: jeffvli Date: Sun, 15 Mar 2026 11:42:25 -0700 Subject: [PATCH] disable WaylandFractionScaleV1 (#1271) --- src/main/index.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/index.ts b/src/main/index.ts index 5e9252fad..ec3aa87df 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -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;