Allow activation from session if there was user activity

but there's no active window.


svn path=/trunk/KDE/kdebase/workspace/; revision=547674
This commit is contained in:
Luboš Luňák 2006-06-02 22:47:04 +00:00
parent d68dafda6b
commit 78715e20e3

View file

@ -451,7 +451,9 @@ bool Client::manage( Window w, bool isMapped )
bool allow; bool allow;
if( session ) if( session )
allow = session->active && !workspace()->wasUserInteraction(); allow = session->active
&& ( !workspace()->wasUserInteraction()
|| workspace()->activeClient() == NULL || workspace()->activeClient()->isDesktop());
else else
allow = workspace()->allowClientActivation( this, userTime(), false ); allow = workspace()->allowClientActivation( this, userTime(), false );