Fix FSP with showing on a different desktop.

svn path=/trunk/kdebase/kwin/; revision=322444
icc-effect-5.14.5
Luboš Luňák 2004-06-21 12:40:43 +00:00
parent c6a91d80ba
commit dd55eaf1fa
1 changed files with 2 additions and 0 deletions

View File

@ -487,6 +487,8 @@ bool Workspace::allowClientActivation( const Client* c, Time time, bool focus_in
return true;
if( level == 4 ) // extreme
return false;
if( !c->isOnCurrentDesktop())
return false; // allow only with level == 0
if( c->ignoreFocusStealing())
return true;
if( ac == NULL || ac->isDesktop())