From 4f43e53955df009e2e0848bb2d5a17723c102215 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Thu, 10 Mar 2005 16:29:00 +0000 Subject: [PATCH] Fix #101209. BUG: 101209 svn path=/trunk/kdebase/kwin/; revision=396387 --- layers.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/layers.cpp b/layers.cpp index 878ef98c7d..c354cdefcf 100644 --- a/layers.cpp +++ b/layers.cpp @@ -711,9 +711,10 @@ Layer Client::belongsToLayer() 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(), true ); 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; if( keepAbove()) return AboveLayer;