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 82ba30c804f47a2689399431ec8be909a582cc4e..586d36ddd81e4636a72c8d4fdd2745dd260045cd 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 |
@@ -784,7 +784,7 @@ |
} |
bool DesktopWindowTreeHostX11::ShouldWindowContentsBeTransparent() const { |
- return IsTranslucentWindowOpacitySupported(); |
+ return false; |
} |
void DesktopWindowTreeHostX11::FrameTypeChanged() { |
@@ -940,7 +940,7 @@ |
} |
bool DesktopWindowTreeHostX11::IsTranslucentWindowOpacitySupported() const { |
- return use_argb_visual_; |
+ return false; |
} |
void DesktopWindowTreeHostX11::SizeConstraintsChanged() { |
@@ -1148,10 +1148,7 @@ |
attribute_mask |= CWBorderPixel; |
swa.border_pixel = 0; |
- // A compositing manager is required to support transparency. |
- use_argb_visual_ = |
- XGetSelectionOwner(xdisplay_, atom_cache_.GetAtom("_NET_WM_CM_S0")) != |
- None; |
+ use_argb_visual_ = true; |
} |
bounds_in_pixels_ = ToPixelRect(params.bounds); |