From c048d2b5391576f172ef00b3a1d8b210480403a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Wed, 24 Nov 2004 14:51:10 +0000 Subject: [PATCH] Make dialogs an exception from keeping splashscreens on top of every other window from the app (#93832). IMHO the real problem is in apps showing modal dialogs while they still have a splascreen visible, but I've seen this already enough times. CCBUG: 93832 svn path=/trunk/kdebase/kwin/; revision=365833 --- layers.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/layers.cpp b/layers.cpp index 92fbdf29c1..db3b431532 100644 --- a/layers.cpp +++ b/layers.cpp @@ -607,6 +607,9 @@ bool Workspace::keepTransientAbove( const Client* mainwindow, const Client* tran // group transients way too high. if( mainwindow->isTopMenu() && transient->groupTransient()) return false; + // #93832 - don't keep splashscreens above dialogs + if( transient->isSplash() && mainwindow->isDialog()) + return false; // This is rather a hack for #76026. Don't keep non-modal dialogs above // the mainwindow, but only if they're group transient (since only such dialogs // have taskbar entry in Kicker). A proper way of doing this (both kwin and kicker)