25 lines
853 B
Diff
25 lines
853 B
Diff
From cfe105b748c5e4a7655ebd71555d23e769470161 Mon Sep 17 00:00:00 2001
|
|
From: sunhai <sunhai10@huawei.com>
|
|
Date: Sat, 23 Nov 2024 16:06:08 +0800
|
|
Subject: [PATCH] set metacity with LIBGL_KOPPER_DISABLE as yes
|
|
|
|
---
|
|
pyanaconda/display.py | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/pyanaconda/display.py b/pyanaconda/display.py
|
|
index ed163e7..8de49a4 100644
|
|
--- a/pyanaconda/display.py
|
|
+++ b/pyanaconda/display.py
|
|
@@ -197,6 +197,7 @@ def do_startup_x11_actions():
|
|
# to set GUI subprocess SIGINT handler
|
|
signal.signal(signal.SIGINT, signal.SIG_IGN)
|
|
|
|
+ os.environ["LIBGL_KOPPER_DISABLE"] = "yes"
|
|
childproc = util.startProgram(["metacity", "--display", ":1", "--sm-disable"],
|
|
env_add={'XDG_DATA_DIRS': xdg_data_dirs},
|
|
preexec_fn=x11_preexec)
|
|
--
|
|
2.33.0
|
|
|