diff --git a/juce_amalgamated.cpp b/juce_amalgamated.cpp index 2260f9f955..cec90a1ea0 100644 --- a/juce_amalgamated.cpp +++ b/juce_amalgamated.cpp @@ -233494,8 +233494,7 @@ private: XChangeProperty (display, wndH, XA_XdndAware, XA_ATOM, 32, PropModeReplace, (const unsigned char*) &dndVersion, 1); - if ((windowStyleFlags & windowHasDropShadow) != 0 - && Desktop::canUseSemiTransparentWindows()) + if ((styleFlags & windowHasDropShadow) != 0 && Desktop::canUseSemiTransparentWindows()) { } diff --git a/src/native/linux/juce_linux_Windowing.cpp b/src/native/linux/juce_linux_Windowing.cpp index f7a4e0d643..44e5292a7c 100644 --- a/src/native/linux/juce_linux_Windowing.cpp +++ b/src/native/linux/juce_linux_Windowing.cpp @@ -2312,8 +2312,7 @@ private: XChangeProperty (display, wndH, XA_XdndAware, XA_ATOM, 32, PropModeReplace, (const unsigned char*) &dndVersion, 1); - if ((windowStyleFlags & windowHasDropShadow) != 0 - && Desktop::canUseSemiTransparentWindows()) + if ((styleFlags & windowHasDropShadow) != 0 && Desktop::canUseSemiTransparentWindows()) { }