diff --git a/clients/oxygen/oxygenclient.cpp b/clients/oxygen/oxygenclient.cpp index 9c9e9fe1ed..c46e756ee0 100644 --- a/clients/oxygen/oxygenclient.cpp +++ b/clients/oxygen/oxygenclient.cpp @@ -37,6 +37,7 @@ #include #include #include +#include #include #include @@ -1702,7 +1703,10 @@ namespace Oxygen // adjust geometry to include shadow size const int shadowSize( shadowCache().shadowSize() ); - const bool drawShadow( compositingActive() && shadowSize > 0 ); + const bool drawShadow( + compositingActive() && + KStyle::customStyleHint( "SH_ArgbDndWindow", widget() ) && + shadowSize > 0 ); if( drawShadow ) { geometry.adjust( -shadowSize, -shadowSize, shadowSize, shadowSize ); }