Minor fix - don't show the empty topmenu area for fullscreen windows,
it would obscure the top part of the window. svn path=/trunk/kdebase/kwin/; revision=280267
This commit is contained in:
parent
784973351a
commit
455e128802
1 changed files with 2 additions and 4 deletions
|
@ -538,9 +538,7 @@ void Workspace::updateCurrentTopMenu()
|
|||
menu_client = menu_client->transientFor();
|
||||
}
|
||||
}
|
||||
if( !options->desktopTopMenu())
|
||||
block_desktop_menubar = true;
|
||||
if( !menubar && !block_desktop_menubar )
|
||||
if( !menubar && !block_desktop_menubar && options->desktopTopMenu())
|
||||
{
|
||||
// Find the menubar of the desktop
|
||||
Client* desktop = findDesktop( true, currentDesktop());
|
||||
|
@ -579,7 +577,7 @@ void Workspace::updateCurrentTopMenu()
|
|||
menubar->hideClient( false );
|
||||
topmenu_space->hide();
|
||||
}
|
||||
else
|
||||
else if( !block_desktop_menubar )
|
||||
{ // no topmenu active - show the space window, so that there's not empty space
|
||||
topmenu_space->show();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue