diff options
author | Leorize <leorize+oss@disroot.org> | 2022-12-01 05:57:13 +0000 |
---|---|---|
committer | Patrick <tingping@tingping.se> | 2022-12-01 20:01:14 -0600 |
commit | 751ff11d3a219701a678b5780af532e5e7c15720 (patch) | |
tree | 961120ea4108ff89aa4478c4f2949663e8f5feca /common | |
parent | 668fc7d514c6aaef3c1bf1ee7df9ef66b3930678 (diff) | |
download | flatpak-751ff11d3a219701a678b5780af532e5e7c15720.tar.gz |
flatpak-run: unset XKB_CONFIG_ROOT
This variable is typically used to configure the use of a custom
set of XKB definitions. In those cases, it's mostly meant for the
X11 server or Wayland compositor. NixOS is known to employ this
variable for their custom XKB layout implementation.
When the path it points to is unreachable (due to the sandbox),
most GTK+/Qt applications will crash on Wayland.
Unsetting this does not seem to negatively impact the use of custom
XKB layouts with Flatpak applications.
Diffstat (limited to 'common')
-rw-r--r-- | common/flatpak-run.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/flatpak-run.c b/common/flatpak-run.c index 8e3c8ad7..a02ed96c 100644 --- a/common/flatpak-run.c +++ b/common/flatpak-run.c @@ -1910,6 +1910,7 @@ static const ExportData default_exports[] = { {"GST_PTP_HELPER_1_0", NULL}, {"GST_INSTALL_PLUGINS_HELPER", NULL}, {"KRB5CCNAME", NULL}, + {"XKB_CONFIG_ROOT", NULL}, }; static const ExportData no_ld_so_cache_exports[] = { |