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
This commit is contained in:
parent
bd81e83d55
commit
f4604d4162
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue