From df4449b0bf991c18c559b12d09631c2b7dbdb64b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Fri, 5 Jul 2002 20:08:17 +0000 Subject: [PATCH] Show at least the desktop's toplevel menubar if the app's one isn't visible yet. svn path=/trunk/kdebase/kwin/; revision=165078 --- workspace.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/workspace.cpp b/workspace.cpp index 1b39b94bfe..604b00f4e6 100644 --- a/workspace.cpp +++ b/workspace.cpp @@ -1441,8 +1441,10 @@ void Workspace::setActiveClient( Client* c ) } // ... then hide the other ones. Avoids flickers. + // Leave the desktop menubars always visible. Helps visually when the app doesn't show + // its menubar immediately. for ( ClientList::ConstIterator it = clients.begin(); it != clients.end(); ++it) { - if ( (*it)->isTopMenu() && (*it) != menubar ) + if ( (*it)->isTopMenu() && (*it) != menubar && !(*it)->mainClient()->isDesktop() ) (*it)->hide(); }