BUG: 101209

svn path=/trunk/kdebase/kwin/; revision=396387
This commit is contained in:
Luboš Luňák 2005-03-10 16:29:00 +00:00
parent 678ba0894d
commit 4f43e53955

View file

@ -711,9 +711,10 @@ Layer Client::belongsToLayer() const
// only raise fullscreen above docks if it's the topmost window in unconstrained stacking order,
// i.e. the window set to be topmost by the user (also includes transients of the fullscreen window)
const Client* ac = workspace()->mostRecentlyActivatedClient(); // instead of activeClient() - avoids flicker
const Client* top = workspace()->topClientOnDesktop( desktop(), true );
if( isFullScreen() && ac != NULL
&& workspace()->topClientOnDesktop( desktop(), true ) == ac
&& ( ac == this || this->hasTransient( ac, true )))
&& ( ac == this || this->hasTransient( ac, true ))
&& ( top == this || this->hasTransient( top, true )))
return ActiveLayer;
if( keepAbove())
return AboveLayer;