I wonder if mplayer's default fullscreen type will be simply 'fullscreen'
instead of various hacks one day. BUG: 92302 svn path=/trunk/kdebase/kwin/; revision=358750
This commit is contained in:
parent
1193fe4863
commit
d421b5c7e7
1 changed files with 2 additions and 2 deletions
|
@ -712,8 +712,6 @@ Layer Client::belongsToLayer() const
|
||||||
return DockLayer;
|
return DockLayer;
|
||||||
if( isTopMenu())
|
if( isTopMenu())
|
||||||
return DockLayer;
|
return DockLayer;
|
||||||
if( keepAbove())
|
|
||||||
return AboveLayer;
|
|
||||||
// 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
|
||||||
|
@ -721,6 +719,8 @@ Layer Client::belongsToLayer() const
|
||||||
&& workspace()->topClientOnDesktop( desktop(), true ) == ac
|
&& workspace()->topClientOnDesktop( desktop(), true ) == ac
|
||||||
&& ( ac == this || this->hasTransient( ac, true )))
|
&& ( ac == this || this->hasTransient( ac, true )))
|
||||||
return ActiveLayer;
|
return ActiveLayer;
|
||||||
|
if( keepAbove())
|
||||||
|
return AboveLayer;
|
||||||
return NormalLayer;
|
return NormalLayer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue