Home GnuPG
Diffusion GnuPG 94d18320b2b0

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
Parents
rG7cdd06af4792: sm,w32: Fix Unicode problem on key box creation.
Branches
Unknown
Tags
Unknown
Tasks
T3659: pinentry falls back to curses on wayland