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

List:       kde-core-devel
Subject:    last patch :)
From:       David Faure <david () mandrakesoft ! com>
Date:       2000-08-19 23:48:14
[Download RAW message or body]


This fixes the refresh of the desktop with e.g. kwebdesktop
(but I wonder how it works for anyone with a background program...)

The hash is always 0, since m_bExport is false.... Not sure the
patch is right, but it fixes the problem for me. Geert ? :-)

Index: bgmanager.cc
===================================================================
RCS file: /home/kde/kdebase/kdesktop/bgmanager.cc,v
retrieving revision 1.49
diff -u -p -r1.49 bgmanager.cc
--- bgmanager.cc        2000/07/16 07:54:22     1.49
+++ bgmanager.cc        2000/08/19 23:48:50
@@ -494,7 +494,7 @@ void KBackgroundManager::slotTimeout()
         bool change = false;
 
         if ((r->backgroundMode() == KBackgroundSettings::Program) &&
-            (m_Cache[i]->hash != 0) &&
+            (m_Cache[i]->hash != 0 || !m_bExport) &&
            (r->KBackgroundProgram::needUpdate())
           )
         {



-- 
David FAURE, david@mandrakesoft.com, faure@kde.org
http://home.clara.net/faure/, http://www.konqueror.org/
KDE, Making The Future of Computing Available Today
See http://www.kde.org/kde1-and-kde2.html for how to set up KDE 2

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

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