1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-11-24 08:12:24 +02:00

Desktop: Fixes #10345: Linux: Allow passing --enable-wayland-ime flag to fix input method issues on startup (#10349)

This commit is contained in:
Henry Heino 2024-04-22 10:28:26 -07:00 committed by GitHub
parent 7ec02fc8d8
commit b69bf84ab6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -145,6 +145,14 @@ const processStartFlags = async (argv: string[], setDefaults = true) => {
continue;
}
if (arg.indexOf('--enable-wayland-ime') === 0) {
// Electron-specific flag - ignore it
// Enables input method support on Linux/Wayland
// See https://github.com/laurent22/joplin/issues/10345
argv.splice(0, 1);
continue;
}
if (arg.indexOf('--ozone-platform=') === 0) {
// Electron-specific flag - ignore it
// Allows users to run the app on native wayland