aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2025-01-08 17:17:48 +0100
committerdec05eba <dec05eba@protonmail.com>2025-01-08 17:17:48 +0100
commit698538ac843e8cf2b82dea0f893a1d35204accb2 (patch)
tree85c84a13dddde9a6858fa9734fdcdcc4fdb34539 /src/main.cpp
parentaffa44e3872d45f661354c3f1c3ece7757f416df (diff)
Unset DRI_PRIME as well
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 9c20a81..c81bc8c 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -37,6 +37,7 @@ static void disable_prime_run() {
unsetenv("__NV_PRIME_RENDER_OFFLOAD_PROVIDER");
unsetenv("__GLX_VENDOR_LIBRARY_NAME");
unsetenv("__VK_LAYER_NV_optimus");
+ unsetenv("DRI_PRIME");
}
static std::unique_ptr<gsr::GlobalHotkeysX11> register_x11_hotkeys(gsr::Overlay *overlay) {