From cdfe50d53baa658944ee6cd50cec7c50769126b1 Mon Sep 17 00:00:00 2001 From: "Pierre-Loup A. Griffais" Date: Mon, 14 Sep 2020 13:13:30 -0700 Subject: [PATCH] steamcompmgr: unset ENABLE_VKBASALT for subcommands We only want gamescope's outermost swapchain to get hooked, similar as the Steam overlay. --- src/steamcompmgr.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/steamcompmgr.cpp b/src/steamcompmgr.cpp index b94a218..f288713 100644 --- a/src/steamcompmgr.cpp +++ b/src/steamcompmgr.cpp @@ -2816,6 +2816,8 @@ steamcompmgr_main (int argc, char **argv) setenv( "LD_PRELOAD", strNewPreload.c_str(), 1 ); } + unsetenv( "ENABLE_VKBASALT" ); + execvp( argv[ g_nSubCommandArg ], &argv[ g_nSubCommandArg ] ); }