Skip to content

Commit

Permalink
feat(manifest): enable input method if ELECTRON_OZONE_PLATFORM_HINT=a…
Browse files Browse the repository at this point in the history
…uto (flathub#685)

or ELECTRON_OZONE_PLATFORM_HINT=wayland

Signed-off-by: Marcin Pachur <pm4rcin.dev.net667@silomails.com>
  • Loading branch information
pm4rcin authored Dec 1, 2024
1 parent 76c8eb5 commit e5e0025
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions signal-desktop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ basic | gnome-libsecret | kwallet | kwallet5 | kwallet6)
;;
esac

if [[ "${ELECTRON_OZONE_PLATFORM_HINT}" == "auto" || "${ELECTRON_OZONE_PLATFORM_HINT}" == "wayland" ]]; then
EXTRA_ARGS+=("--enable-wayland-ime" "--wayland-text-input-version=3")
fi

# Warn the user about plaintext password
# - if the user chose basic (this is the default)
# - and Signal starts for the first time
Expand Down

0 comments on commit e5e0025

Please sign in to comment.