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

List:       kmail-devel
Subject:    Re: PATCH: problem with restore and multiple desktops
From:       Luís_Pedro_Coelho <luis () luispedro ! org>
Date:       2005-03-31 18:32:48
Message-ID: 200503311932.48664.luis () luispedro ! org
[Download RAW message or body]

On Wednesday 30 March 2005 22:25, Ingo Klöcker wrote:
> Please commit only the second hunk.

done.

Maybe someone can check this in branch and backport, no?

I am attaching the patch without the whitespace change to help.

bye,
-- 
luispedro
http://blog.luispedro.org/
http://luispedro.org/

["kmsystemtray.patch" (text/x-diff)]

Index: kmsystemtray.cpp
===================================================================
RCS file: /home/kde/kdepim/kmail/kmsystemtray.cpp,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -3 -p -b -r1.61 -r1.62
--- kmsystemtray.cpp	29 Mar 2005 19:46:50 -0000	1.61
+++ kmsystemtray.cpp	31 Mar 2005 18:26:06 -0000	1.62
@@ -394,6 +394,8 @@ void KMSystemTray::showKMail()
   assert(mainWin);
   if(mainWin)
   {
+    KWin::WindowInfo cur =  KWin::windowInfo( mainWin->winId(), NET::WMDesktop );
+    if ( cur.valid() ) mDesktopOfMainWin = cur.desktop();
     // switch to appropriate desktop
     if ( mDesktopOfMainWin != NET::OnAllDesktops )
       KWin::setCurrentDesktop( mDesktopOfMainWin );


_______________________________________________
KMail developers mailing list
KMail-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmail-devel


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

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