Topmenus have special layer, avoid stacking operations with them.

Fixes a small problem with #77341.

svn path=/trunk/kdebase/kwin/; revision=305888
icc-effect-5.14.5
Luboš Luňák 2004-04-23 14:51:30 +00:00
parent 75029e652b
commit 6f3db8f9fe
1 changed files with 10 additions and 0 deletions

View File

@ -270,6 +270,8 @@ void Workspace::lowerClient( Client* c )
{
if ( !c )
return;
if( c->isTopMenu())
return;
c->cancelAutoRaise();
@ -295,6 +297,8 @@ void Workspace::lowerClientWithinApplication( Client* c )
{
if ( !c )
return;
if( c->isTopMenu())
return;
c->cancelAutoRaise();
@ -321,6 +325,8 @@ void Workspace::raiseClient( Client* c )
{
if ( !c )
return;
if( c->isTopMenu())
return;
c->cancelAutoRaise();
@ -349,6 +355,8 @@ void Workspace::raiseClientWithinApplication( Client* c )
{
if ( !c )
return;
if( c->isTopMenu())
return;
c->cancelAutoRaise();
@ -397,6 +405,8 @@ void Workspace::lowerClientRequest( Client* c, NET::RequestSource src, Time /*ti
void Workspace::restackClientUnderActive( Client* c )
{
if( c->isTopMenu())
return;
if( !active_client || active_client == c )
{
raiseClient( c );