Make sure topmenu is on the same virtual desktop as the active window

for which it's shown.

svn path=/trunk/kdebase/kwin/; revision=266399
icc-effect-5.14.5
Luboš Luňák 2003-11-11 18:51:10 +00:00
parent bd81e83d55
commit f4604d4162
1 changed files with 4 additions and 0 deletions

View File

@ -553,7 +553,11 @@ void Workspace::updateCurrentTopMenu()
// kdDebug() << "CURRENT TOPMENU:" << menubar << ":" << active_client << endl;
if ( menubar )
{
if( active_client && !menubar->isOnDesktop( active_client->desktop()))
menubar->setDesktop( active_client->desktop());
menubar->hideClient( false );
}
// ... then hide the other ones. Avoids flickers.
#if 0