aports/testing/lomiri-app-launch/0001-liblomiri-app-launch-jobs-posix.cpp-pass-more-enviro.patch
Aster Boese c454bbd998 */*: update name and email and add contributor field
Brandon Boese <brandonboese@protonmail.com>
-->
Aster Boese <asterboese@mailbox.org>
2025-03-13 05:58:42 +00:00

28 lines
999 B
Diff

From 57874224cd52b59568def736c45a7f16a5283f4c Mon Sep 17 00:00:00 2001
From: Aster Boese <asterboese@mailbox.org>
Date: Thu, 14 Mar 2024 20:56:04 -0400
Subject: [PATCH] liblomiri-app-launch/jobs-posix.cpp: pass more environment
variables
---
liblomiri-app-launch/jobs-posix.cpp | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/liblomiri-app-launch/jobs-posix.cpp b/liblomiri-app-launch/jobs-posix.cpp
index e1639fe..1ced23d 100644
--- a/liblomiri-app-launch/jobs-posix.cpp
+++ b/liblomiri-app-launch/jobs-posix.cpp
@@ -211,6 +211,10 @@ std::shared_ptr<Application::Instance> POSIX::launch(
{
copyEnvByPrefix("QT_", env);
copyEnvByPrefix("XDG_", env);
+ copyEnv("HOME", env);
+ copyEnv("DISPLAY", env);
+ copyEnv("WAYLAND_DISPLAY", env);
+ copyEnv("UITK_ICON_THEME", env);
/* If we're in Lomiri we don't want to pass it's platform, we want
* an application platform. */
--
2.42.0