Commit 841e8b04 authored by ananta@chromium.org's avatar ananta@chromium.org

Set accept_events to true when we create top level windowsin desktop AURA....

Set accept_events to true when we create top level windowsin desktop AURA. This ensures that we don't end
up using WS_EX_TRANSPARENT when the actual window is created. This causes painting and flickering issues in AURA.
Will investigate that later.

BUG=282628
R=sky@chromium.org

Review URL: https://codereview.chromium.org/23493022

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221833 0039d316-1c4b-4281-b951-d872f2087c98
parent 41236f80
...@@ -77,9 +77,7 @@ class DesktopNativeWidgetTopLevelHandler : public aura::WindowObserver { ...@@ -77,9 +77,7 @@ class DesktopNativeWidgetTopLevelHandler : public aura::WindowObserver {
init_params.bounds = bounds; init_params.bounds = bounds;
init_params.ownership = Widget::InitParams::NATIVE_WIDGET_OWNS_WIDGET; init_params.ownership = Widget::InitParams::NATIVE_WIDGET_OWNS_WIDGET;
init_params.layer_type = ui::LAYER_NOT_DRAWN; init_params.layer_type = ui::LAYER_NOT_DRAWN;
init_params.accept_events = full_screen;
init_params.can_activate = full_screen; init_params.can_activate = full_screen;
// This widget instance will get deleted when the window is // This widget instance will get deleted when the window is
// destroyed. // destroyed.
top_level_handler->top_level_widget_ = new Widget(); top_level_handler->top_level_widget_ = new Widget();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment