Show at least the desktop's toplevel menubar if the app's one isn't visible yet.
svn path=/trunk/kdebase/kwin/; revision=165078
This commit is contained in:
parent
1fab5c76ce
commit
df4449b0bf
1 changed files with 3 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue