Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,8 @@ protected Color getClearColor() {
return Color.WHITE;
} else if (fillPaint.isOpaque() ||
(windowStage != null && windowStage.getPlatformWindow() != null &&
windowStage.getPlatformWindow().isUnifiedWindow())) {
(windowStage.getPlatformWindow().isUnifiedWindow() ||
windowStage.getPlatformWindow().isExtendedWindow()))) {
//For bare windows the transparent fill is allowed
if (fillPaint.getType() == Paint.Type.COLOR) {
return (Color)fillPaint;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ LRESULT GlassWindow::WindowProc(UINT msg, WPARAM wParam, LPARAM lParam)
}
break;
case WM_DWMCOMPOSITIONCHANGED:
if (m_isUnified && (IS_WINVISTA)) {
if ((m_isUnified || m_isExtended) && (IS_WINVISTA)) {
BOOL bEnabled = FALSE;
if(SUCCEEDED(::DwmIsCompositionEnabled(&bEnabled)) && bEnabled) {
MARGINS dwmMargins = { -1, -1, -1, -1 };
Expand Down