diff --git a/layers.cpp b/layers.cpp index a3a52d956c..694240fbc9 100644 --- a/layers.cpp +++ b/layers.cpp @@ -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 );