Make sure topmenu space is even below fullscreens if there are no topmenus.
svn path=/trunk/kdebase/kwin/; revision=333180
This commit is contained in:
parent
5979a50bb6
commit
9f5920a134
1 changed files with 2 additions and 2 deletions
|
@ -145,11 +145,11 @@ void Workspace::propagateClients( bool propagate_new_clients )
|
|||
--it )
|
||||
{
|
||||
new_stack[ pos++ ] = (*it)->frameId();
|
||||
if( (*it)->isTopMenu())
|
||||
if( (*it)->belongsToLayer() >= DockLayer )
|
||||
topmenu_space_pos = pos;
|
||||
}
|
||||
if( topmenu_space != NULL )
|
||||
{ // make sure the topmenu space is below all topmenus, if there are any
|
||||
{ // make sure the topmenu space is below all topmenus, fullscreens, etc.
|
||||
for( int i = pos;
|
||||
i > topmenu_space_pos;
|
||||
--i )
|
||||
|
|
Loading…
Reference in a new issue