Index: ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc |
diff --git a/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc b/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc |
index 802443b78e51b88daaac6592dcce9e5ada9e8ae2..8abd36eaee3c63a989fa62703a7b35ff00abd25b 100644 |
--- a/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc |
+++ b/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc |
@@ -782,7 +782,7 @@ bool DesktopWindowTreeHostX11::ShouldUseNativeFrame() const { |
} |
bool DesktopWindowTreeHostX11::ShouldWindowContentsBeTransparent() const { |
- return false; |
+ return IsTranslucentWindowOpacitySupported(); |
} |
void DesktopWindowTreeHostX11::FrameTypeChanged() { |
@@ -938,7 +938,7 @@ bool DesktopWindowTreeHostX11::IsAnimatingClosed() const { |
} |
bool DesktopWindowTreeHostX11::IsTranslucentWindowOpacitySupported() const { |
- return false; |
+ return use_argb_visual_; |
} |
void DesktopWindowTreeHostX11::SizeConstraintsChanged() { |