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)
|
// 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 );
|
const Client* top = workspace()->topClientOnDesktop( desktop(), true );
|
||||||
if( isFullScreen() && ac != NULL
|
if( isFullScreen() && ac != NULL && top != NULL
|
||||||
&& ( ac == this || this->hasTransient( ac, true ))
|
&& ( ac == this || this->hasTransient( ac, true ))
|
||||||
&& ( top == this || this->hasTransient( top, true )))
|
&& ( top == this || this->hasTransient( top, true )))
|
||||||
return ActiveLayer;
|
return ActiveLayer;
|
||||||
|
|
Loading…
Reference in a new issue