Turn unredirect off when fullscreen is not on the active virtual desktop.
svn path=/trunk/KDE/kdebase/workspace/; revision=863950
This commit is contained in:
parent
f8163eac9d
commit
bd589d3adf
2 changed files with 2 additions and 1 deletions
|
@ -884,6 +884,7 @@ void Client::setActive( bool act )
|
|||
decoration->activeChange();
|
||||
updateMouseGrab();
|
||||
updateUrgency(); // demand attention again if it's still urgent
|
||||
workspace()->checkUnredirect();
|
||||
}
|
||||
|
||||
void Client::startupIdChanged()
|
||||
|
|
|
@ -850,7 +850,7 @@ bool Client::isActiveFullScreen() 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(), screen(), true, false );
|
||||
const Client* top = workspace()->topClientOnDesktop( workspace()->currentDesktop(), screen(), true, false );
|
||||
return( isFullScreen() && ac != NULL && top != NULL
|
||||
// not needed, for xinerama && ( ac == this || this->group() == ac->group())
|
||||
&& ( top == this || this->group() == top->group()));
|
||||
|
|
Loading…
Reference in a new issue