[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: startkde
From:       Waldo Bastian <bastian () kde ! org>
Date:       2001-01-26 20:48:37
[Download RAW message or body]

On Friday 26 January 2001 09:35, Bernhard Rosenkraenzer wrote:
> On Thu, 25 Jan 2001, Dirk Mueller wrote:
> > On Don, 25 Jan 2001, Bernhard Rosenkraenzer wrote:
> > > Any reasons why this was done, aside from speeding up startup a bit at
> > > the cost of functionality?
> >
> > Read the CVS log. Waldo just moved the code (Thanks! I didn't have time
> > for this cleanup), rather than removed it.
>
> The new location is broken as far as antialiasing is concerned. kdesktop
> is always anti-aliased because it's started before the settings are read.
>
> LLaP
> bero

Does the following patch work? 

A better solution might be to start kdesktop later because it is a pain to 
start kdesktop while half of the environment isn't set up. And we now have 
this cute splash screen to entertain the user while he/she is waiting for 
kdesktop to show up.

I'll look into this.

Cheers,
Waldo
-- 
bastian@kde.org | SuSE Labs KDE Developer | bastian@suse.com

["kdesktop.diff" (text/x-c++)]

Index: main.cc
===================================================================
RCS file: /home/kde/kdebase/kdesktop/main.cc,v
retrieving revision 1.66
diff -u -r1.66 main.cc
--- main.cc	2001/01/18 12:09:54	1.66
+++ main.cc	2001/01/26 20:21:39
@@ -67,6 +67,15 @@
     // WABA: Make sure not to enable session management.
     putenv(strdup("SESSION_MANAGER="));
 
+    // Disable anti-aliasing
+    {
+       KConfig aaconfig("kcmdisplayrc", true, true);
+       if (!aaconfig.readBoolEntry("AntiAliasing", true))
+       {
+          putenv(strdup("QT_XFT=0"));
+       }
+    }
+
     if (!KUniqueApplication::start()) {
         fprintf(stderr, "kdesktop is already running!\n");
         exit(0);


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic