Fix #101209.
BUG: 101209 svn path=/trunk/kdebase/kwin/; revision=396387
This commit is contained in:
parent
678ba0894d
commit
4f43e53955
1 changed files with 3 additions and 2 deletions
|
@ -711,9 +711,10 @@ Layer Client::belongsToLayer() const
|
||||||
// only raise fullscreen above docks if it's the topmost window in unconstrained stacking order,
|
// 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)
|
// 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* ac = workspace()->mostRecentlyActivatedClient(); // instead of activeClient() - avoids flicker
|
||||||
|
const Client* top = workspace()->topClientOnDesktop( desktop(), true );
|
||||||
if( isFullScreen() && ac != NULL
|
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;
|
return ActiveLayer;
|
||||||
if( keepAbove())
|
if( keepAbove())
|
||||||
return AboveLayer;
|
return AboveLayer;
|
||||||
|
|
Loading…
Reference in a new issue