fix nonreproducible crash
svn path=/trunk/kdebase/kwin/; revision=397585
This commit is contained in:
parent
352beb9070
commit
e7ad67c64b
1 changed files with 1 additions and 1 deletions
|
@ -712,7 +712,7 @@ Layer Client::belongsToLayer() const
|
|||
// 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
|
||||
if( isFullScreen() && ac != NULL && top != NULL
|
||||
&& ( ac == this || this->hasTransient( ac, true ))
|
||||
&& ( top == this || this->hasTransient( top, true )))
|
||||
return ActiveLayer;
|
||||
|
|
Loading…
Reference in a new issue