diff --git a/clients/oxygen/oxygenclient.cpp b/clients/oxygen/oxygenclient.cpp index e956eeeb17..f05c3e8ebf 100644 --- a/clients/oxygen/oxygenclient.cpp +++ b/clients/oxygen/oxygenclient.cpp @@ -1414,7 +1414,7 @@ namespace Oxygen QList buttons( widget()->findChildren() ); foreach( Button* button, buttons ) { - if( event->rect().intersects( button->geometry() ) ) + if( button->isVisible() && event->rect().intersects( button->geometry() ) ) { painter.save(); painter.setViewport( button->geometry() );