update utility window visibility on property change and increase hiding delay - should prevent "mystic" disappearance of gimp utilities
svn path=/trunk/KDE/kdebase/workspace/; revision=1210458
This commit is contained in:
parent
337e1eac18
commit
73ec13310f
3 changed files with 9 additions and 1 deletions
|
@ -682,6 +682,7 @@ void Client::setTransient( Window new_transient_for_id )
|
|||
if( isTopMenu())
|
||||
workspace()->updateCurrentTopMenu();
|
||||
workspace()->updateClientLayer( this );
|
||||
workspace()->resetUpdateToolWindowsTimer();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1023,7 +1023,13 @@ void Workspace::updateToolWindows( bool also_hide )
|
|||
}
|
||||
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()
|
||||
|
|
|
@ -161,6 +161,7 @@ class Workspace : public QObject, public KDecorationDefines
|
|||
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();
|
||||
|
|
Loading…
Reference in a new issue