mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-24 10:27:10 +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:
parent
7ec02fc8d8
commit
b69bf84ab6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user