[gdm] Don't invoke cpp with xrdb



commit 22590328fab9aacf17d4ce32e1c0678c330b26c0
Author: Martin Pitt <martin pitt canonical com>
Date:   Fri Jul 17 16:13:19 2009 -0400

    Don't invoke cpp with xrdb
    
    In order to improve startup speed, call xrdb with -nocpp.  cpp
    is a pretty heavy beast, and the number of users which have
    preprocessor directives in their ~/.Xresources is probably a
    single digit (as is the number of users who still use
    ~/.Xresources with GNOME in the first place).

 data/Xsession.in |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/data/Xsession.in b/data/Xsession.in
index 0ae3b31..d972056 100755
--- a/data/Xsession.in
+++ b/data/Xsession.in
@@ -94,15 +94,15 @@ rh6sysmodmap=/etc/X11/xinit/Xmodmap
 
 # merge in defaults
 if [ -f "$rh6sysresources" ]; then
-    xrdb -merge "$rh6sysresources"
+    xrdb -nocpp -merge "$rh6sysresources"
 fi
 
 if [ -f "$sysresources" ]; then
-    xrdb -merge "$sysresources"
+    xrdb -nocpp -merge "$sysresources"
 fi
 
 if [ -f "$userresources" ]; then
-    xrdb -merge "$userresources"
+    xrdb -nocpp -merge "$userresources"
 fi
 
 # merge in keymaps



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