From 6accc9a9900678c3269677d0cd95e2ffbce5d7a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Tue, 30 Nov 2004 14:26:09 +0000 Subject: [PATCH] Don't keep dialogs above mainwindow if that mainwindow happens to be a dock. Let's see what that does. BUG: 63223 svn path=/trunk/kdebase/kwin/; revision=367418 --- layers.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/layers.cpp b/layers.cpp index e77e70903c..a8a87c6ead 100644 --- a/layers.cpp +++ b/layers.cpp @@ -616,15 +616,10 @@ bool Workspace::keepTransientAbove( const Client* mainwindow, const Client* tran // needs to be found. if( transient->isDialog() && !transient->isModal() && transient->groupTransient()) return false; -#if 0 // #63223 - don't keep transients above docks, because the dock is kept high, // and e.g. dialogs for them would be too high too - // TODO this doesn't really work - the transient should be raised after clicking - // on the dock, but docks don't become active after clicking them - if( mainwindow->isDock() && !mainwindow->keepBelow() - && !mainwindow->isActive() && !transient->isActive()) // TODO !w->group()->isActive() ??? + if( mainwindow->isDock()) return false; -#endif return true; }