[gnome-terminal] server: Set no-argb env var



commit 1fff4c5b18368aa14ffb51a85761a2d7ab2baaf3
Author: Christian Persch <chpe gnome org>
Date:   Sat Feb 15 15:42:01 2014 +0100

    server: Set no-argb env var
    
    No reason to make use this in g-t by default, and argb's previously been the
    cause of reports of unreasonably high memory use, and crashes.

 src/server.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/server.c b/src/server.c
index bcad276..442e758 100644
--- a/src/server.c
+++ b/src/server.c
@@ -89,6 +89,9 @@ main (int argc, char **argv)
     return EXIT_FAILURE;
   }
 
+  /* Don't use ARGB visual by default */
+  g_setenv ("GDK_RGBA", "0", TRUE);
+
 #ifndef ENABLE_DISTRO_PACKAGING
 #ifdef HAVE_UBUNTU
   /* Set some env vars to disable the ubuntu modules. Their package will be 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]