Fix FSP with showing on a different desktop.

svn path=/trunk/kdebase/kwin/; revision=322444
This commit is contained in:
Luboš Luňák 2004-06-21 12:40:43 +00:00
parent c6a91d80ba
commit dd55eaf1fa

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())