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

List:       kde-commits
Subject:    KDE/kdebase/workspace/kwin
From:       Thomas Lübking <thomas.luebking () gmail ! com>
Date:       2010-12-31 13:44:18
Message-ID: 20101231134418.22D87AC8AE () svn ! kde ! org
[Download RAW message or body]

SVN commit 1210458 by luebking:

update utility window visibility on property change and increase hiding delay - \
should prevent "mystic" disappearance of gimp utilities


 M  +1 -0      group.cpp  
 M  +7 -1      workspace.cpp  
 M  +1 -0      workspace.h  


--- trunk/KDE/kdebase/workspace/kwin/group.cpp #1210457:1210458
@@ -682,6 +682,7 @@
         if( isTopMenu())
             workspace()->updateCurrentTopMenu();
         workspace()->updateClientLayer( this );
+        workspace()->resetUpdateToolWindowsTimer();
         }
     }
 
--- trunk/KDE/kdebase/workspace/kwin/workspace.cpp #1210457:1210458
@@ -1023,9 +1023,15 @@
         }
     else // setActiveClient() is after called with NULL client, quickly followed
          // by setting a new client, which would result in flickering
-        updateToolWindowsTimer.start( 50 );
+        resetUpdateToolWindowsTimer();
     }
 
+
+void Workspace::resetUpdateToolWindowsTimer()
+    {
+    updateToolWindowsTimer.start( 200 );
+    }
+
 void Workspace::slotUpdateToolWindows()
     {
     updateToolWindows( true );
--- trunk/KDE/kdebase/workspace/kwin/workspace.h #1210457:1210458
@@ -161,6 +161,7 @@
         void restack( Client *c, Client *under );
         void updateClientLayer( Client* c );
         void raiseOrLowerClient( Client* );
+        void resetUpdateToolWindowsTimer();
         void restoreSessionStackingOrder( Client* c );
         void updateStackingOrder( bool propagate_new_clients = false );
         void forceRestacking();


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

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