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:
parent
d68dafda6b
commit
78715e20e3
1 changed files with 3 additions and 1 deletions
|
@ -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 );
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue