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();
|
menu_client = menu_client->transientFor();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if( !options->desktopTopMenu())
|
if( !menubar && !block_desktop_menubar && options->desktopTopMenu())
|
||||||
block_desktop_menubar = true;
|
|
||||||
if( !menubar && !block_desktop_menubar )
|
|
||||||
{
|
{
|
||||||
// Find the menubar of the desktop
|
// Find the menubar of the desktop
|
||||||
Client* desktop = findDesktop( true, currentDesktop());
|
Client* desktop = findDesktop( true, currentDesktop());
|
||||||
|
@ -579,7 +577,7 @@ void Workspace::updateCurrentTopMenu()
|
||||||
menubar->hideClient( false );
|
menubar->hideClient( false );
|
||||||
topmenu_space->hide();
|
topmenu_space->hide();
|
||||||
}
|
}
|
||||||
else
|
else if( !block_desktop_menubar )
|
||||||
{ // no topmenu active - show the space window, so that there's not empty space
|
{ // no topmenu active - show the space window, so that there's not empty space
|
||||||
topmenu_space->show();
|
topmenu_space->show();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue