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 2bb3b4bcd7a704e48796f7a5cd5b57d731efe1ee..f45400f45efc9072455a0dee02f3e270b6971d23 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 |
@@ -1147,7 +1147,7 @@ void DesktopWindowTreeHostX11::InitX11Window( |
Visual* visual; |
int depth; |
- ui::ChooseVisualForWindow(&visual, &depth); |
+ ui::ChooseVisualForWindow(true, &visual, &depth); |
sadrul
2016/07/15 15:12:13
true /* enable_transparent_visuals */
In old code
|
if (depth == 32) { |
attribute_mask |= CWColormap; |
swa.colormap = |