mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-09 20:29:36 +02:00
disable WaylandFractionScaleV1 (#1271)
This commit is contained in:
@@ -272,6 +272,11 @@ if (isLinux() && !process.argv.some((a) => a.startsWith('--password-store='))) {
|
|||||||
app.commandLine.appendSwitch('password-store', passwordStore);
|
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 mainWindow: BrowserWindow | null = null;
|
||||||
let tray: null | Tray = null;
|
let tray: null | Tray = null;
|
||||||
let exitFromTray = false;
|
let exitFromTray = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user