src/macosx/classes/sun/lwawt/macosx/CPlatformWindow.java

Print this page

        

*** 739,748 **** --- 739,751 ---- CWrapper.NSWindow.setOpaque(getNSWindowPtr(), isOpaque); if (!isOpaque) { long clearColor = CWrapper.NSColor.clearColor(); CWrapper.NSWindow.setBackgroundColor(getNSWindowPtr(), clearColor); } + //This is a temporary workaround. Looks like after 7124236 will be fixed + //the correct place for invalidateShadow() is CGLayer.drawInCGLContext. + invalidateShadow(); } @Override public void enterFullScreenMode() { isFullScreenMode = true;
*** 807,816 **** --- 810,824 ---- } nativeSetEnabled(getNSWindowPtr(), !blocked); } + @Override + public final void invalidateShadow(){ + nativeRevalidateNSWindowShadow(getNSWindowPtr()); + } + // ---------------------------------------------------------------------- // UTILITY METHODS // ---------------------------------------------------------------------- /*