Keep a fullscreen window on top not only if its has a transient

on top and active, but if it has active and on top any window
in its group. Let's see if it breaks something.
BUG: 108020


svn path=/trunk/KDE/kdebase/kwin/; revision=429892
This commit is contained in:
Luboš Luňák 2005-06-29 09:52:27 +00:00
parent 418a40c7a5
commit 229690ab71

View file

@ -712,8 +712,8 @@ Layer Client::belongsToLayer() const
const Client* ac = workspace()->mostRecentlyActivatedClient(); // instead of activeClient() - avoids flicker
const Client* top = workspace()->topClientOnDesktop( desktop(), true );
if( isFullScreen() && ac != NULL && top != NULL
&& ( ac == this || this->hasTransient( ac, true ))
&& ( top == this || this->hasTransient( top, true )))
&& ( ac == this || this->group() == ac->group())
&& ( top == this || this->group() == top->group()))
return ActiveLayer;
if( keepAbove())
return AboveLayer;