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 14e3a578111af56b4d71cd2de0d2c8e36d7e6e17..c25f77d5462bbfb47158da63e9ff673be551dfa9 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 |
@@ -781,7 +781,7 @@ bool DesktopWindowTreeHostX11::ShouldUseNativeFrame() const { |
} |
bool DesktopWindowTreeHostX11::ShouldWindowContentsBeTransparent() const { |
- return false; |
+ return IsTranslucentWindowOpacitySupported(); |
} |
void DesktopWindowTreeHostX11::FrameTypeChanged() { |
@@ -937,7 +937,7 @@ bool DesktopWindowTreeHostX11::IsAnimatingClosed() const { |
} |
bool DesktopWindowTreeHostX11::IsTranslucentWindowOpacitySupported() const { |
- return false; |
+ return use_argb_visual_; |
} |
void DesktopWindowTreeHostX11::SizeConstraintsChanged() { |