Merge pull request #11710 from brenca/fix-10678-1-8-x

Remove WS_EX_COMPOSITED style from window (1-8-x)
This commit is contained in:
Cheng Zhao
2018-01-24 14:45:11 +09:00
committed by GitHub

View File

@@ -298,9 +298,6 @@ NativeWindowViews::NativeWindowViews(
}
LONG ex_style = ::GetWindowLong(GetAcceleratedWidget(), GWL_EXSTYLE);
// Window without thick frame has to have WS_EX_COMPOSITED style.
if (!thick_frame_)
ex_style |= WS_EX_COMPOSITED;
if (window_type == "toolbar")
ex_style |= WS_EX_TOOLWINDOW;
::SetWindowLong(GetAcceleratedWidget(), GWL_EXSTYLE, ex_style);