mzteinit: stop GTK from using nonsensical at-spi daemon

This commit is contained in:
LordMZTE 2023-09-01 23:12:17 +02:00
parent 1cce621711
commit 5c6a74a6a8
Signed by: LordMZTE
GPG key ID: B64802DC33A64FF6

View file

@ -88,6 +88,10 @@ pub fn populateEnvironment(env: *std.process.EnvMap) !bool {
try env.put("QT_QPA_PLATFORMTHEME", "qt5ct");
try env.put("GTK_THEME", @import("opts").gtk_theme); // gtk theme from confgen
// this stops GTK from dbus-launching the mid-bogglingly pointless at-spi daemon
try env.put("NO_AT_BRIDGE", "1");
try env.put("GTK_A11Y", "none");
// use xdg-desktop-portal
try env.put("GTK_USE_PORTAL", "1");