Home GnuPG
Diffusion GnuPG 8fff61de9433

common: Pass XDG_SESSION_TYPE and QT_QPA_PLATFORM envvars to pinentry

Description

common: Pass XDG_SESSION_TYPE and QT_QPA_PLATFORM envvars to pinentry

* common/session-env.c (stdenvnames): Add XDG_SESSION_TYPE and
QT_QPA_PLATFORM.

On Unix systems (except Darwin), Qt uses those two environment
variables additionally to DISPLAY and WAYLAND_DISPLAY to figure out
whether to use X11 or Wayland. For example, QT_QPA_PLATFORM needs
to be set to "wayland" to make Qt use Wayland on Gnome.

Details

Provenance
ikloeckerAuthored on Aug 2 2021, 5:19 PM
wernerCommitted on Aug 16 2021, 12:01 PM
Parents
rG5ca15e58b241: tools: Extend gpg-check-pattern.
Branches
Unknown
Tags
Unknown
Tasks
T3659: pinentry falls back to curses on wayland