From 9d560f5c002b506a9a708f010b077f8087ba6127 Mon Sep 17 00:00:00 2001 From: Nathaniel van Diepen Date: Fri, 24 May 2024 18:38:36 -0600 Subject: [PATCH] Set RM2FB_ACTIVE environment variable Multiple applications test this to determine if rm2fb is running --- libs/rm2fb/Client.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/rm2fb/Client.cpp b/libs/rm2fb/Client.cpp index 9f0f884..c8d3bb4 100644 --- a/libs/rm2fb/Client.cpp +++ b/libs/rm2fb/Client.cpp @@ -118,6 +118,7 @@ __libc_start_main(int (*_main)(int, char**, char**), setenv("RM2FB_SHIM", "1", true); setenv("RM2STUFF_RM2FB", "1", true); + setenv("RM2FB_ACTIVE", "1", true); if (fb.mem == nullptr) { std::cout << "No rm2fb shared memory\n";